hi
I've had no luck on the search.
I have a directory with text files in named jan04, mar04, etc etc, and I'm using the standard readdir, with a while loop to output links to the files on screen. No problems so far.
However, I want to get the links to the files to output in month order, so for e.g.
nov03
dec03
jan04
feb04
mar04
rather than alphabetically! Is there an easy way to do this?
I was thinking maybe you could have an array of the months, which the while loop checks against before outputting?
Any help on this would be grateful. cheers.