Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Sorting - lower to upperby Joost (Canon) |
on Jul 15, 2004 at 15:45 UTC ( [id://374695]=note: print w/replies, xml ) | Need Help?? |
A hash is inherently unsorted. You can sort a list of keys and store them in an array, though:
edit: %hash{$_} -> $hash{$_} edit2: This seems to me reasonably efficient:
In Section
Seekers of Perl Wisdom
|
|