Can I place sort: before dupe: ?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Can I place sort: before dupe: ?

Post by bit »

I know dupe:p1;p2;p3 will auto set sort to p1-p2-p3, and then I can change that by adding sort:p2;p3;p1 so new sort is p2-p3-p1

Code: Select all

dupe:col1;col2 sort:col2;col3;width;path
But if I place the sort before dupe:, the result list changes.

Code: Select all

sort:col2;col3;width;path dupe:col1;col2 
seems "sort:" can affect the behaviour of dupe:
Is this intented?

Edit: this weird case happened for me, but unable to reproduce it now...
Last edited by bit on Fri May 12, 2023 8:31 am, edited 2 times in total.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can I place sort: before dupe: ?

Post by void »

Yes, the sort: overrides how Everything finds duplicates. (if specified before dupe:)

Everything finds duplicates by:
Sorting results by the specified properties.
Step over each item and check if the specified properties are duplicated.

More information here:
https://www.voidtools.com/forum/viewtopic.php?f=12&t=12733&p=53180#advanced



I do want to change this behavior at some stage.
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Re: Can I place sort: before dupe: ?

Post by bit »

void wrote: Fri May 12, 2023 8:11 am Yes, the sort: overrides how Everything finds duplicates. (if specified before dupe:)
ok good to know this.
I guess sort: after dupe: should have no side-effects on dupe: behavior, but only change the order of result items?
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Can I place sort: before dupe: ?

Post by void »

Correct.
Post Reply