[solved] Different sorting of search results w or wo ev
Moderators: Hacker, petermad, Stefan2, white
[solved] Different sorting of search results w or wo ev
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?
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.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Different sorting of search results w or wo ev
It could be the settings.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 >
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
Tools - Options...
Code: Select all
Home: Sort: Use last value
Results: ☑ Sort date descending first
☑ Sort size descending first
Indexes: ☑ Fast ... sort (all ticked)
Re: Different sorting of search results w or wo ev
In my case, the search result after "Feed to listbox" will be displayed in the active TC window in the same orderpetermad wrote: 2019-06-06, 21:28 UTC This also applies to the search result after feeding it to listbox ...
as it was displayed before in the search result - window.
According to your pictures this is also true for you.
Re: Different sorting of search results w or wo ev
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 make a search with 'Everything enabled', the search result is presented in a random order <http://madsenworld.dk/tcmd/searchresult-w-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: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>
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
Polish subforum moderator
Re: Different sorting of search results w or wo ev
2Usher
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.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.
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'?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)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Different sorting of search results w or wo ev
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).petermad wrote: 2019-06-07, 12:38 UTCThen 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'?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)
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
Polish subforum moderator
Re: Different sorting of search results w or wo ev
2Usher
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'.
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'.As you know, TC doesn't provide another order.
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.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Different sorting of search results w or wo ev
Considered solved.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar