I\'m getting a list of files on a linux-like system using opendir/readdir. It appears that the directory entries are returned in alphabetical order of file name. However, I
(Some file systems might store directory entries in a certain order, in such cases readdir might return them to you in the same order, but that's not a feature of readdir itself.)