in reply to sort hash by value
Update: fixed missing paren typo as pointed out by QMforeach ( sort { $hash{$a} cmp $hash{$b} || $a cmp $b } keys %hash ) +{
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sort hash by value
by QM (Parson) on Mar 20, 2006 at 01:30 UTC | |
by greywolf (Priest) on Mar 20, 2006 at 21:09 UTC |