Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Sorting large sets of geometric coordinates

by ikegami (Pope)
on Apr 20, 2006 at 02:47 UTC ( #544494=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ((5.0 0.4) (48.0 0.5))
    ((48.1 0.4) (99.0 0.5))
    
  2. or download this
    my @sorted_data = sort {  $a->[1] <=> $b->[1]
                           || $a->[0] <=> $b->[0] } @unsorted_data;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://544494]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-05-28 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?