Better directory/file sorting