Dictionary keys are stored in insertion order, meaning whenever a new key is added it gets added at the very end.
Read the full article: How to sort a dictionary in Python
▸ https://trey.io/TLDN0N
@treyhunner Does this mean OrderedDict is no longer needed?
@treyhunner I haven't used it explicitly, but [the initializer for] the csv package's DictReader class used to return OrderedDicts. It looks like that changed in 3.8: