Fixed sorting order for directory listings