I may be misunderstanding how you want it sorted, but if you keep the date format you have, you won't be able to sort how you (I think) want.
12-01-08 01-01-07 12-01-06 01-01-98
will sort:
01-01-07 01-01-98 12-01-06 12-01-08
It will sort all the January's first, then all the Februarys, etc... Result will be that January 1998, comes before December 2008, which is not what you want - I'm guessing. If you reverse order, you'd get all the December's first which would make December 2006 come before January 2007. Still not correct.
Have you tried using a different date format - or using Perl to convert the dates you have to a sortable format and then printing them back the way you want?
IMHO, the best way to sort dates would be: YYYYMMDD.
In reply to Re: Sorting by Date Help!
by VinsWorldcom
in thread Sorting by Date Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |