go ahead... be a heretic | |
PerlMonks |
Re: Sorting multiple arraysby Codon (Friar) |
on Sep 13, 2005 at 16:09 UTC ( [id://491615]=note: print w/replies, xml ) | Need Help?? |
merlyn had probably the most simple solution. I, however, like the creative solution. AoH or Hash based solutions are obvious. How's this for a unique method:
The one thing that I don't like about this is that it does not sort in place. It requires the creation of two new sorted arrays. :-(
Ivan Heffner Sr. Software Engineer, DAS Lead WhitePages.com, Inc.
In Section
Seekers of Perl Wisdom
|
|