Closed as not planned
Description
Feature or enhancement
Add an OrderedDict.sort method
Pitch
Enables to sort an (ordered)dict in-place, offering both better performance and single-object security when accessing the values in the sorted order - though the sorting is done key-wise.
Previous discussion
https://discuss.python.org/t/sorting-ordered-dicts/25336

