Page 1 of 1

Filename sorting

Posted: 11 Aug 2014, 10:33
by derben
HI,

In the upload-section the sorting of the filenames is a bit weird. Filenames with upper case appear first. Filenames with lower case are at the end.

Example:

Aaa.doc
Bbbb.doc
CCcsds.xml
aaaaa.doc
bbdsfsdf.xls
cfdqwres.com

But I expect:
Aaa.doc
aaaaa.doc
Bbbb.doc
bbdsfsdf.xls
CCcsds.xml
cfdqwres.com

Do I miss something ? Is there a configuration that fix this issue ?

Re: Filename sorting

Posted: 11 Aug 2014, 21:56
by Jan
Hi, this depends on your SQL setting.

The code is asking for ordering e.g. by filename ASC or DESC but the ordering makes then the SQL on your server, so try to see SQL settings there :idea:

Jan