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


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