Sorting results in Search panel

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
wanderer
Power Member
Power Member
Posts: 1571
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Sorting results in Search panel

Post by *wanderer »

I understand that when you search for a text in multiple file extensions, TC sorts results by extension (perhaps because that's my default sorting in the file panel too?). Is there a way to sort the results by name?
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sorting results in Search panel

Post by *ghisler(Author) »

No, they are sorted in the same way as in the file panel which was active before you opened the search dialog.
Author of Total Commander
https://www.ghisler.com
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Sorting results in Search panel

Post by *nsp »

wanderer wrote: 2019-10-21, 14:25 UTC I understand that when you search for a text in multiple file extensions, TC sorts results by extension (perhaps because that's my default sorting in the file panel too?). Is there a way to sort the results by name?
The result is dynamically populated and use original order. In any case you will have to wait until end to get a valid sort.
The easiest way is to populate a listbox and then sort as you want even using a custom view mode to have all the fields you need (specially for recursive folder lookup as name is not name in this case)..
User avatar
wanderer
Power Member
Power Member
Posts: 1571
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Sorting results in Search panel

Post by *wanderer »

Just what i suspected. So, the panel is sorted "by name" before starting the search, the results will also be "by name".

Yup, just tried it and it works perfectly (also sorts by full name - including path, which is what i needed).

Thanks.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
Post Reply