in reply to Re: How to sort a hash by its values?
in thread How to sort a hash by its values?

a) You're only printing the values, when the question asked for the key/value pairs and
b) you're doing a lexical sort - not a numeric one.

--
<http://www.dave.org.uk>

Perl Training in the UK <http://www.iterative-software.com>

  • Comment on Re: Re: How to sort a hash by its values?