File is now sorted by name when using directory() and directoryTree()