Possible Duplicate:
File creation time
PHP, nasıl oluşturulma tarihi (veya diğer herhangi bir sıralama mekanizması) olanlar bir klasöre bulunan dosyaları almak için?
According to the doc, readdir() fonksiyonu:
The filenames are returned in the order in which they are stored by the filesystem.