[solved] Different sorting of search results w or wo ev

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] Different sorting of search results w or wo ev

Post by *petermad »

If I make a search with 'Everything enabled', the search result is presented in a random order <http://madsenworld.dk/tcmd/searchresult-w-ev.png >
If I do the same search without 'Everything', the files are presented in the oder of the file system <http://madsenworld.dk/tcmd/searchresult-wo-ev.png>

This also applies to the search result after feding it to listbox (set TC's sorting to unsorted to see this): <http://madsenworld.dk/tcmd/searchresult2-w-ev.png > and <http://madsenworld.dk/tcmd/searchresult2-wo-ev.png >.

I don't know if this is due to a bug in TC or if there is a setting in 'Everything' that can fix this?
Last edited by petermad on 2019-11-10, 12:40 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Different sorting of search results w or wo ev

Post by *tuska »

petermad wrote: 2019-06-06, 21:28 UTC If I make a search with 'Everything enabled', the search result is presented in a random order <http://madsenworld.dk/tcmd/searchresult-w-ev.png >
It could be the settings.
My sorting in TC with Everything checked looks like this: https://www.bilder-hochladen.net/files/big/lwdu-1c-a046.png

These are my settings:

TC

Code: Select all

Configuration - Display ... Sort method: Alphabetical, considering accents
Sorting directories ....... ◉ Like files (also by time)

[Configuration]
SortDirsByName=0
SortUpper=0

[left]
negative Sortorder=0
sortorder=0

[right]
negative Sortorder=0
sortorder=0
Everything
Tools - Options...

Code: Select all

Home: 		Sort: Use last value
Results: 	☑ Sort date descending first
		☑ Sort size descending first
Indexes:	☑ Fast ... sort (all ticked)
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Different sorting of search results w or wo ev

Post by *tuska »

petermad wrote: 2019-06-06, 21:28 UTC This also applies to the search result after feeding it to listbox ...
In my case, the search result after "Feed to listbox" will be displayed in the active TC window in the same order
as it was displayed before in the search result - window.

According to your pictures this is also true for you.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Different sorting of search results w or wo ev

Post by *Usher »

petermad wrote: 2019-06-06, 21:28 UTCIf I make a search with 'Everything enabled', the search result is presented in a random order <http://madsenworld.dk/tcmd/searchresult-w-ev.png>
It's not a random order. On the contrary, it's a fully ordered list. The list is ordered strictly by file names (by filenames only, with NO path).

petermad wrote: 2019-06-06, 21:28 UTCIf I do the same search without 'Everything', the files are presented in the order of the file system <http://madsenworld.dk/tcmd/searchresult-wo-ev.png>
And this list is ordered by subdirectory and file names (by full PATH). It's better seen when fed list to listbox on another picture:

Note that there is NO unsorted view on NTFS file system - the FS driver sorts entries by name. If you want to test unsorted view, use FAT32.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Different sorting of search results w or wo ev

Post by *petermad »

2Usher
Note that there is NO unsorted view on NTFS file system - the FS driver sorts entries by name. If you want to test unsorted view, use FAT32.
I am aware of that. But the NTFS file system sorting is not necessarily the same as the Name sorting, the user might be using in TC - that is why I suggest to test without any sorting - because TC (without ev) collects the filenames in the order of the filesystem - and you can then see that the immediate Search result and the Feed to listbox is in the same order.
It's not a random order. On the contrary, it's a fully ordered list. The list is ordered strictly by file names (by filenames only, with NO path)
Then my question is - can that be avoided when using 'Everything' - either bys settings in 'Everything', or by changing how TC recieves the results from 'Everything'?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Different sorting of search results w or wo ev

Post by *Usher »

petermad wrote: 2019-06-07, 12:38 UTC
It's not a random order. On the contrary, it's a fully ordered list. The list is ordered strictly by file names (by filenames only, with NO path)
Then my question is - can that be avoided when using 'Everything' - either bys settings in 'Everything', or by changing how TC recieves the results from 'Everything'?
I was too fast. Both lists are ordered using name and path, but they use different sort expressions — Everything sorts by name+path (possibly using its indexed database), TC sorts by path+name (possibly using natural NTFS order).
As you know, TC doesn't provide another order. I don't know all Everything possibilities, so I can't help you any more.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Different sorting of search results w or wo ev

Post by *petermad »

2Usher
As you know, TC doesn't provide another order.
Actually if I choose any sort order in the file panel, then the Search result is shown in the same order (both with and without 'Everything') - it is just when I choose Unsorted sort order that there is a difference between searching with or without 'Everything'.

In a way it is understandable - when choosing Unsorted I get what the system sends to TC - natural NTFS order, or FAT32 order without 'Everything' and 'Everything's order when choosing 'Everything'.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Different sorting of search results w or wo ev

Post by *petermad »

Considered solved.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply