Improved sorting in GalaxyWorkflow.parseJson