in reply to Numeric sorting WITHOUT <=>
my @sorted = sort {sprintf ('%09d', $a) cmp sprintf ('%09d', $b)} keys + %jetsons;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Numeric sorting WITHOUT <=>
by dsheroh (Monsignor) on Oct 10, 2012 at 09:44 UTC | |
by GrandFather (Saint) on Oct 10, 2012 at 20:31 UTC |