in reply to sort strings by date
map { $_->[0] } sort { $a->[1] cmp $b->[1] } map { m!(\d\d)/(\d\d)/(\d{4}):([\d:]+)$!; [ $_, $3 . $2 . $1 . $4 ] };
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sort strings by date
by tye (Sage) on Sep 04, 2003 at 22:08 UTC | |
by LeeC79 (Acolyte) on Sep 05, 2003 at 12:39 UTC | |
by tye (Sage) on Sep 05, 2003 at 15:23 UTC |