troposphere 4.7.0 on python 3.10.12
I've generated a fairly long YAML formatted file, but when I look at the YAML it's hard to follow. While it may be syntactically correct, it isn't very human readable. For example, although I'm adding Description first in my template, the resulting to_yaml() puts it after "Conditions".
And the resource names are being sorted alphabetically; in my loop I'm using f-strings with the words "One", "Two", "Three", "Four", "Five". Even though the resources are being added in the above order, in the template they're appearing as $fooFive, $fooFour, $fooOne, $fooThree and $fooTwo
How can I get the resulting template outputted in the order that the elements were added instead of in alphabetical order?
Thanks!