#3318 Sort subworkflows when creating workflows
Pull request opened by
wild-endeavor
## Tracking issue
N/A
## Why are the changes needed?
Basically under some situations (maybe async related) the ordering of subworkflows is different. This means that the digest detection in Admin returns a different digest, which causes the dreaded structure different for same version error when re-registering.
See pull/6/files in customer issues repo for those with access.
## What changes were proposed in this pull request?
## How was this patch tested?
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request enhances the organization of sub-workflows in the WorkflowSpec by implementing sorting based on workflow IDs. This improvement increases clarity and manageability of the workflow structure.
flyteorg/flytekit