Change the order of subitems

I have an automation that creates a bunch of subitems. Sometimes this automation gets revised, like “subitem #3 should come first” and so on. So, instead of recreating the automation from scratch, I should be able to revisit the automation and change the order of the subitems thet gets created.