i have about 100 files whose names are the dates they were created (they're press releases) in one of three different formats. I've written script that converts any of the filenames to a posix compliant timestamp of format F d Y, pushes them in to an array and prints it for selection in a drop down menu.
all of this works fine 🙂
my last hurdle is in sorting them. As I've said, they are posix compliant dates, once they get to the array. Surely there's a function for chronologically sorting an array of dates? I've checked the function list, but I can't seem to find anything promising.
thanks for any help!