WinSCP Explorer mode doesn't sort files correctly

1

2

WinSCP has the explorer mode which is similar to Windows Explorer. It works great, but the file listing panel seems showing files in undesired sorting manner.

WinSCP is showing the file list this way:

abc-log.txt
abcreport.txt
abc-update.txt

But the correct order should be:

abc-log.txt
abc-update.txt
abcreport.txt

The dash character (0x2D) is before 0..9, A-Z, and a-z, so when sorting it should appear first.

WinSCP is possibly removing dashes before sorting, so it is taking order of l-->r-->u. How to config WinSCP to solve the problem of dashes in file names?

datdinhquoc

Posted 2019-05-03T15:49:01.023

Reputation: 201

Answers

3

It's what your Windows locale settings consider as the correct order.

Try it in Windows File Explorer, it should sort the files the same way. Mine does:

enter image description here

Martin Prikryl

Posted 2019-05-03T15:49:01.023

Reputation: 13 764