Keep It Simple, Stupid | |
PerlMonks |
Re: Sorting large sets of geometric coordinatesby davido (Cardinal) |
on Apr 19, 2006 at 21:32 UTC ( [id://544447]=note: print w/replies, xml ) | Need Help?? |
I'm not 100% clear on column priorities, so I'm kind of guessing the following, and you can tell us if I'm wrong:
Much of that is nothing but a guess. But let's assume it's accurate so that you can see an example of how you might handle the sorting:
An adaptation on that theme ought to work out for you. And here is essentially the same thing, but using a Schwartzian Transform. ...in this case, readability suffers, IMHO.
Dave
In Section
Seekers of Perl Wisdom
|
|