I think the most easiest way for doing it is change OKMDocumentServlet -> getChilds
http://doxygen.openkm.com/openkm/d5/d4d ... 1bed4c47b5
As you can see default list is based on ordering by DocumentComparator
Code: Select allCollections.sort(docList, DocumentComparator.getInstance(getLanguage()));
The easiest will be change it ( and similar for folders and mails, FolderServlet and MailServlet ). That will have the only inconvenience that will be sorted folders, documents and mails ordered by date but grouped by type.
If you want more fine ordering then you should take a look at FileBrowser.java -> ExtendedScrollTable.java and force by default ordering by column date ( I think by default is not ordered ). To ensure all is right when you see ordered elements click on toolbar refresh. Try to change ordering to other column and refresh etc...