Keep It Simple, Stupid | |
PerlMonks |
Re: Sorting by Valueby simeon2000 (Monk) |
on Jul 19, 2002 at 15:57 UTC ( [id://183283]=note: print w/replies, xml ) | Need Help?? |
As far as writing out the solution for you, I will not for I am having a hard time deciphering your post in the first place. However, sorting a hash in reverse by value as opposed to by key is as simple as:
I believe will give you the desired effect. Try perldoc -q sort on the command line for more details.
In Section
Seekers of Perl Wisdom
|
|