http://www.perlmonks.org?node_id=1009678


in reply to Re: how to put hash key and value in order
in thread how to put hash key and value in order

Have to say, this solution

      my @keys = sort { $hash{$a} <=> $hash{$b} } keys %hash;

is better than mine, cause it tolerates duplicated values! :)

Cheers Rolf