Fix JSON/YAML generation, fix sort if timestamp not available
Current situation
opentf-ctl run workflow
allows for the --output
option, but the first line, giving the workflow ID, is not JSON or YAML.
Also, if, for whatever reasons, on a recent orchestrator version, a workflow manifest has no creationTimestamp, an error occurs.
Finally, SonarQube complains while cherry-picking :/
Desired outcome
Address the above.
Edited by Martin Lafaix