in reply to Save the resultant of " hash sorted by values "

This is a FAQ:
perldoc -q sort
How can I always keep my hash sorted?

Tie::IxHash