in reply to Re: Sorting - lower to upper
in thread Sorting - lower to upper
Kudos though, much more elegant than the solution i posted!foreach ( sort { ord($b) <=> ord($a) } keys %hash ) { print "$_ => $hash{$_}\n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sorting - lower to upper
by Joost (Canon) on Jul 15, 2004 at 16:37 UTC |