>>If you only need dat, and not datetime, you can use ASORT. Ie
>>ASORT( laFilesArray, 3, ALEN( laFilesArray, 1), 0)
>
>Thanks guys, but it needs to be oldest to youngest including the times, sorry I forgot to mentiont that, so I'll just create the date\time column, unless you do have a trick to skip that?
Mike,
Create a cursor with the last column being the date/time. After sorting the array by date (not really necessary), append it into the cursor. Then you can do a REPLACE ALL on the date/time column, then index or do a query on the cursor.
BTW, what confused me (an easy thing to do some times) is the way you originally phrased the question. This would be ascending order. Not thinking real hard about it, made me think it was the opposite.
George
Ubi caritas et amor, deus ibi est