Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Sorting dates with the Schwartzian Transform

by FunkyMonk (Chancellor)
on Aug 03, 2011 at 16:20 UTC ( [id://918321]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print for map  { $_->[0] }             # extract original date
              sort { $a->[1] cmp $b->[1] } # Sort, using sortable date
    ...
    01-01-2006
    03-03-2009
    02-02-2009
    
  2. or download this
    01-01-2006
    02-02-2007
    02-02-2009
    03-03-2009
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-23 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found