794 - Sort order illogical?

Bugs and issues - current donor version.
Post Reply
Message
Author
Free4all
Posts: 246
Joined: 30.09.2014, 19:12

794 - Sort order illogical?

#1 Post by Free4all » 07.03.2019, 09:03

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?

User avatar
ralfso
Posts: 704
Joined: 31.10.2007, 17:21
Location: Gifhorn, Germany

Re: 794 - Sort order illogical?

#2 Post by ralfso » 07.03.2019, 11:24

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
Regards
Ralf

Win10 (64-bit), Intel i7-2600 (3,4 GHz), 8 GB Ram, 500 GB SSD, 2x2000 GB HD, NVIDIA GeForce 545

Free4all
Posts: 246
Joined: 30.09.2014, 19:12

Re: 794 - Sort order illogical?

#3 Post by Free4all » 03.04.2019, 04:22

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 47 guests