Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Sorting large sets of geometric coordinates

by ikegami (Patriarch)
on Apr 20, 2006 at 02:47 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://544494]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 06:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found