Filename sorting

Phoca Download - download manager
derben
Phoca Member
Phoca Member
Posts: 19
Joined: 09 May 2014, 12:23

Filename sorting

Post 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 ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filename sorting

Post 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
If you find Phoca extensions useful, please support the project
Post Reply