> > If the filename has anything to do with the date, then just > sort it. > > MM > > is numeric and not alphabetic, right? > > I guess I should do some more testing -- didn't expect sort() would > work on dates, but I'll happily go run some tests :)
This only really works if your format's YYYY/MM/DD It wont work if it's DD/MM/YYYY, MM/DD/YYYY, YYYY/DD/MM, etc, etc Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php