in reply to Re: sort question
in thread sort question
In fact, I think I'll use this as my JAPH ;-)sub sort_ranks { my @array = map {$_->[0]} sort {($a->[1]=~/^R#(\d+)$/)[0] <=> ($b->[1] +=~/^R#(\d+)$/)[0]} map {[$_,$entry{$table}{$_}{RANK}]} @_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sort question
by mrborisguy (Hermit) on May 17, 2005 at 18:59 UTC | |
by rvosa (Curate) on May 17, 2005 at 19:31 UTC | |
by rvosa (Curate) on May 17, 2005 at 19:02 UTC |