What order does the
/usr/local/psa/admin/bin/filemng return entries in?
filemng utility uses
readdir functions that just use the directory entries in the order they are linked together. So no order is guaranteed.
On most systems
readdir 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.