Page 1 of 1

794 - Sort order illogical?

Posted: 07.03.2019, 09:03
by Free4all
FCXE 794 64-bit on Win7

Okay, I'm surprised by what I'm seeing, and hopefully I'm misinterpreting something, but it seems that certain files are sorted in an illogical way when Natural (Windows Explorer) Sorting is enabled.

Specifically, I have a bunch of files that are of the format {UUID}.txt

And when they are sorted ascendingly, they appear as:

{123...}.txt
{789...}.txt
{533...}.txt

I tried this with dozens of files, and they never sort as one would expect.

To be fair, Windows Explorer (in Win7) has a similar issue, although it sorts them in a different order than FCXE.

Could Natural Sorting be improved to handle this more elegantly?

Re: 794 - Sort order illogical?

Posted: 07.03.2019, 11:24
by ralfso
Also FCXE 794 64-bit on Win7
Also natural sorting

Tested with your filenames:

Always in right order like in Explorer
{123...}.txt
{533...}.txt
{789...}.txt

Re: 794 - Sort order illogical?

Posted: 03.04.2019, 04:22
by Free4all
I think I found the issue.

All the files are in the format: {UUID}.txt

Thus, using natural sorting:

{7a48395b-...}.txt

gets displayed before

{153d967a-...}.txt

because 7 is less than 153.

I would prefer FCXE recognize this as a string and sort accordingly, even when natural sorting is enabled.