in reply to
Re^2: sort hash by value
in thread
sort hash by value
The OP alludes to the fact that the hash values are numbers while the keys are strings. He will want to use '<=>' rather than 'cmp' to sort the number values properly.
mr greywolf
Comment on
Re^3: sort hash by value
In Section
Seekers of Perl Wisdom