- Plesk 11.5 for Linux
What order does the
return entries in?
functions that just use the directory entries in the order they are linked together. So no order is guaranteed.
On most systems
returns directory entries in the same order that the system call does. In theory a Unix kernel can return directory entries in whatever order it wants (including, sorted alphabetically for example). In practice kernels almost always give you directory entries in whatever the natural order is for entries in the on-disk data structures that represent a directory.