- Make sure that "Sorting directories" are set to: "Like files (also by time)".
- Make a directory containing these folders: dir1, dir2 and dir3 and these files file1, file2 and file3
- Set the sorting to for example Name in Reversed order.
- Make a search for everything in that folder (leave "Search for" blank).
- Feed the search result to listbox.
- The folders and files are sorted like this:
drive:\path\dir1
drive:\path\dir2
drive:\path\dir3
drive:\path\file3
drive:\path\file2
drive:\path\file1
but they should have been sorted like this:
drive:\path\dir3
drive:\path\dir2
drive:\path\dir1
drive:\path\file3
drive:\path\file2
drive:\path\file1 - Click on the Name tabstop header twice - or run the command cm_SwitchDirSort 2.
Now the folders are sorted correctly in reversed order:
drive:\path\dir3
drive:\path\dir2
drive:\path\dir1 - It is not just sorting by Name that is affected, it is for sorting by any column also custom columns.
- Folders are apparently always sorted by Name in Normal order when fed to listbox.
[TC 10.52 and earlier] Current sorting of dirs not applied when feeding a search to listbox
Moderators: Hacker, petermad, Stefan2, white
[TC 10.52 and earlier] Current sorting of dirs not applied when feeding a search to listbox
To reproduce
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
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52 and earlier] Current sorting of dirs not applied when feeding a search to listbox
The sort order is not changed when you choose "Feed to listbox". This is intentional.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.52 and earlier] Current sorting of dirs not applied when feeding a search to listbox
That is not what I am saying - I am saying that the current sort order (before feeding to listbox) is not applied to folders, it is only applied to files after having fed to listbox.The sort order is not changed when you choose "Feed to listbox". This is intentional.
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
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52 and earlier] Current sorting of dirs not applied when feeding a search to listbox
Then the folders should already be sorted in the search dialog, not just after "Feed to listbox"?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.52 and earlier] Current sorting of dirs not applied when feeding a search to listbox
The dirs are also not sorted according to the current sort order in the search result.Then the folders should already be sorted in the search dialog
Maybe an image illustrates it better: https://madsenworld.dk/tcmd/searchresultdirsorting.png - notice how files are sorted correctly (reverse order), but folders are sorted wrong in the Find Files dialog and the Search result (yellow).
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
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52 and earlier] Current sorting of dirs not applied when feeding a search to listbox
Sorry, I prefer not to change this behavior.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com