Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Advanced Sorting - GRT - Guttman Rosler Transform

by dmmiller2k (Chaplain)
on Feb 18, 2002 at 19:14 UTC ( #146217=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @sorted = map { [substr($_, 0, 10), 10000-substr($_, 10, 4)] }
                 sort
                 map { sprintf("%10.10s%04d", $_->[0], 10000-$_->[1]) @uns
    +orted;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://146217]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-12-27 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls