Sort the directory entries for predictable output