Natural sort settings

Discussion related to "Everything" 1.5 Alpha.
Post Reply
w64bit
Posts: 253
Joined: Wed Jan 09, 2013 9:06 am

Natural sort settings

Post by w64bit »

The natural sort has on/off setting?
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Natural sort settings

Post by therube »

(From what I recall, no. At least that was the case a long while back.)
Natural sort cannot be disabled and affects all text sorting.

Sorting is generally faster in Everything 1.5 compared to Everything 1.4

Everything 1.5 uses stable binary sort for less than 256 items and a queued merge sort, giving better overall multi-threaded performance.
Everything 1.4 uses a sub divided mixture of multi-threaded qsort and merge sort and can suffer from unbalanced sub division (one subdivision sort can complete early and that thread will sit there doing nothing for the rest of the sort).
the sort order cannot change easily. The entire database would need to be rebuilt.
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Natural sort settings

Post by void »

Natural sort cannot be changed on the fly (due to how the database is stored).

Is there something you would like to see changed with natural sorting?
w64bit
Posts: 253
Joined: Wed Jan 09, 2013 9:06 am

Re: Natural sort settings

Post by w64bit »

The names containing numbers are sorted now like this:
*1x1*
*002-003*
*02-1*
*2'*
I understand the logic of the natural sorting.

Can the names containing numbers be sorted like this?
*002-003*
*02-1*
*1x1*
*2'*
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: Natural sort settings

Post by void »

I have put on my TODO list to add an option to sort by unicode code point.

Unicode code point sorting will most likely not be as fast as natural sorting.

Thanks for the suggestion.
Post Reply