How to change files and folders order in list - simogeo/Filemanager GitHub Wiki
The fileSorting option into Filemanager configuration file allows user to specify output on ordering files/folders list.
Important : note that the Filemanager will always return content on alphabetical order. More option can be set as detailed below :
Alphabetical Order : "NAME_*"
-
"NAME_DESC" : will organize the list without separating files and folders. It will display both of them in alphabetical order (from Aa to Zz). Numeric will be displayed first. If
fileSortingoption is not given to config file, the "NAME_DESC" settings will apply. -
"NAME_ASC" : will organize the list without separating files and folders. It will display both of them from Zz to Aa, and numeric.
Separated files and folders
-
"TYPE_DESC" : will organize the list separating files and folders. Files will be displayed first. If
fileSortingoption has "default" value, the "TYPE_DESC" settings will apply. -
"TYPE_ASC" : will organize the list separating files and folders. Folders will be displayed first.
Ordered on modification dates
-
"MODIFIED_DESC" : will organize the list depending on the modification dates. Elder files/folders will be displayed at the end.
-
"MODIFIED_ASC" : will organize the list depending on the modification dates. Elder files/folders will be displayed first.