Hi, I'm having a bit of a problem with file sorting. The naming convention is,
YYYY-MM-DD_HH-MM.html
But when using the dir() function in PHP the file list produced isn't sorted "alphabeticaly".
For example is "2000-10-11_13-15.html" placed above "2000-10-09_17-15.html"
Listing the files localy at the server using "la" results in the same order, as described above, butt adding "-la" solves the problem.
Is there an option like "-la" aviable in the dir() function?