Sorting ordered dicts

What else does it need to do? Doesn’t move_to_end also only update the double linked list?