http://qs321.pair.com?node_id=895054


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

When you sort a hash to output, you are really sorting temporarily the keys or the values, not the underlying hash.

To get a sorted hash try for example Tie::Hash::Sorted

citromatik