Sorting results in Search panel

English support forum

Moderators: sheep, Hacker, Stefan2, white

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

Sorting results in Search panel

Post by *wanderer » 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?
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Latest TC / x32: WinXPx32 SP3 / x64: Clients/Servers from Win7SP1 through Win19Server

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sorting results in Search panel

Post by *ghisler(Author) » 2019-10-21, 15:08 UTC

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
http://www.ghisler.com

User avatar
nsp
Power Member
Power Member
Posts: 1217
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Sorting results in Search panel

Post by *nsp » 2019-10-21, 15:20 UTC

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: 1334
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Sorting results in Search panel

Post by *wanderer » 2019-10-21, 17:22 UTC

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 -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Latest TC / x32: WinXPx32 SP3 / x64: Clients/Servers from Win7SP1 through Win19Server

Post Reply