sort inactivates mix files and folders

Discussion related to "Everything" 1.5.
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

sort inactivates mix files and folders

Post by anmac1789 »

Why does using sort: inactivate the mix files and folders search ? even using custom columns inactivates mix files and folders (grayed out option)
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

In Everything 1.5, mixing files and folders only works for basic 'fast' sorts. (for example: Tools -> Options -> Indexes -> Fast Date Modified Sort)

Everything 1.5 cannot efficiently mix files and folders for other sorts, so it is disabled.

I have on my TODO list, for a future version of Everything, to add support for mixing files and folders with all sorts.
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

Re: sort inactivates mix files and folders

Post by anmac1789 »

Oh okay, and what about custom columns ?
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

Custom columns cannot be fast sorted.
You cannot mix files and folders for custom columns in Everything 1.5.
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

Re: sort inactivates mix files and folders

Post by anmac1789 »

void wrote: Sun May 24, 2026 12:18 am Custom columns cannot be fast sorted.
You cannot mix files and folders for custom columns in Everything 1.5.
ahh shoot, I really needed that @_@
Herkules97
Posts: 236
Joined: Tue Oct 08, 2019 6:42 am

Re: sort inactivates mix files and folders

Post by Herkules97 »

void wrote: Sun May 24, 2026 12:09 am Everything 1.5 cannot efficiently mix files and folders for other sorts, so it is disabled.
By efficiently, you mean it was still possible? You couldn't have a temporary setting to enable it if you want to take the hit?
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

Re: sort inactivates mix files and folders

Post by anmac1789 »

Yes that's exactly what I mean It was possible in 1.5a
Herkules97
Posts: 236
Joined: Tue Oct 08, 2019 6:42 am

Re: sort inactivates mix files and folders

Post by Herkules97 »

anmac1789 wrote: Sun May 24, 2026 7:48 am Yes that's exactly what I mean It was possible in 1.5a
Oh it was so soon? That's very strange to have disabled that ability.
It does seem like an easy enough fix though, to use a 1.5a version.

But if something else nice is added in a 1.5b version, it would also be nice to have this ability still so you're not stuck on an older version.
Especially if a new feature works together with sorting.
Maybe just dump them all in some "experimental" section of the settings page.
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

Re: sort inactivates mix files and folders

Post by anmac1789 »

Herkules97 wrote: Sun May 24, 2026 2:43 pm
anmac1789 wrote: Sun May 24, 2026 7:48 am Yes that's exactly what I mean It was possible in 1.5a
Oh it was so soon? That's very strange to have disabled that ability.
It does seem like an easy enough fix though, to use a 1.5a version.

But if something else nice is added in a 1.5b version, it would also be nice to have this ability still so you're not stuck on an older version.
Especially if a new feature works together with sorting.
Maybe just dump them all in some "experimental" section of the settings page.
I'm not sure I guess it's upto the developers
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

Support for mixing files/folders with other properties will need to wait for a future version of Everything.
Too much of a rewrite is required to add support to Everything 1.5.

For now, export to CSV and sort in Excel.
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

Re: sort inactivates mix files and folders

Post by anmac1789 »

void wrote: Mon May 25, 2026 4:03 am Support for mixing files/folders with other properties will need to wait for a future version of Everything.
Too much of a rewrite is required to add support to Everything 1.5.

For now, export to CSV and sort in Excel.
Do you mean when it's out of beta ?
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

No, Everything 1.5 will only be getting bug fixes from now.

It will have to wait until Everything 1.6.
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

Re: sort inactivates mix files and folders

Post by anmac1789 »

void wrote: Tue May 26, 2026 12:55 am No, Everything 1.5 will only be getting bug fixes from now.

It will have to wait until Everything 1.6.
yikes, when is v1.6 going to release ?
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

Everything 1.5.0.1414b improves mix files and folders.

The following properties can now be mixed:
  • Column 0
  • Column 1
  • Column 2
  • Column 3
  • Column 4
  • Column 5
  • Column 6
  • Column 7
  • Column 8
  • Column 9
  • Column A
  • Column B
  • Column C
  • Column D
  • Column E
  • Column F
  • Regular Expression Match 0
  • Regular Expression Match 1
  • Regular Expression Match 2
  • Regular Expression Match 3
  • Regular Expression Match 4
  • Regular Expression Match 5
  • Regular Expression Match 6
  • Regular Expression Match 7
  • Regular Expression Match 8
  • Regular Expression Match 9
  • Regular Expression Matches
  • Randomize
arof
Posts: 13
Joined: Tue Dec 05, 2017 10:41 pm

Re: sort inactivates mix files and folders

Post by arof »

Many thanks for this feature, it makes sorting by something like a regex-extracted user number in the path or filename much much easier.

Would it be possible to integrate this improvement into dupe:/unique: logic to mix files and folders in those results as well, if those columns were the only ones being checked? Even if there's a one-column limit on that check for dupe:, it would by itself fix a major gap in the feature because you can build the custom column accordingly for comparison.
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

It should already be possible.

What property are you using to find duplicates/uniques?

The following will mix files and folders:
regex:(\d+) addcol:1 dupe:1 sortmix:


Only one dupe/unqiue property is supported with sortmix:.
arof
Posts: 13
Joined: Tue Dec 05, 2017 10:41 pm

Re: sort inactivates mix files and folders

Post by arof »

Okay, my original issue was using specifically using regex:stem:"^(\d+)" to ensure the value was filled from the specific type of match I was looking for (I should have just turned off match path in this case), then I was loading that into a custom column1 via the same check against stem, which I guess in pulling from a property is different visually even though it's the same string.

At first I had a good filter set up for my potential locations (it's a few folders and zips spread out over a few locations) and pasted in what you gave, and it was working, but the more I adjusted things over the last two hours of poking this, the more it broke. It seems like any complex filters on source location can just break it, and weirdly enough if I have the regex match column pre-mixed and then paste in sort:1 (not type it with search-as you type), it just highlights the existing groups, or colors them if I paste in "dupe:1 groupcolors:". Also, if the regex is more complex and needs quoting (like if I want to grab the digits at the start, the first - character, and all characters in the name up to a break character after that), stuff is also weirdly inconsistent.
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

Any sort on your filters? or sorts in your filter search?
Could you please give a search and filter search example where it breaks?

groupcolors: will group by the current sort, not the active find-dupes.
arof
Posts: 13
Joined: Tue Dec 05, 2017 10:41 pm

Re: sort inactivates mix files and folders

Post by arof »

Okay I figured it out, took a much simpler approach and searched a single example (just "userid-username" in the format, the regex was extracting userid) and it helped me debug it. "dupe:1" in this syntax isn't just checking for dupe:1 in any available path and returning all results, it's checking dupe:1 plus dupe of its given type (file or folder).

So if I have two folders for a user but only one file, or two files and only one folder in the filtered results, the other file type disappears from results using dupe:1 typed, and it doesn't properly re-filter when I was pasting it in if it was pre-sorted and mixed on match group1, though it was adding the visual separator lines. The right-click-header check dupes behaving properly when it's pre-sorted though is strange.

It's sort of a weird case due to what I'm trying to check dupes on (specifically looking for mismatched names in the zipped copies and root folders only, some users having a second folder) that caused this to appear, but the actual dupe logic isn't checking cross-type, just the result sorting, which was why I had the issue to begin with, but it could be an issue any time you only have the one folder match and multiple files matching.

Quick edit: This is working fine after testing with my old REGEXEXTRACT($stem:) syntax, so it's not an issue of the value "being different" after coming out in a custom column, it was just the issue above.
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

it's checking dupe:1 plus dupe of its given type (file or folder).
Yes, finding dupes is limited to the separate files and folders database in Everything 1.5.

I want to re-explore the 'index files as folders' option in a future version of Everything.
Everything 1.5 initially had the option, but was later changed to mix files and folders.

The 'index files as folders' option will index folders as both files and folders, but only 'file' results are shown.
This will improve performance (at the cost of slightly more RAM usage) and allow mixing files and folders when finding duplicates.
arof
Posts: 13
Joined: Tue Dec 05, 2017 10:41 pm

Re: sort inactivates mix files and folders

Post by arof »

Understood, if there's no option to just rely on the custom column text for the current dupe: implementation, I'll just script the check in Autohotkey so I can handle mismatches in cases like these. At least they can be sorted next to each other for easier handling, which is helpful for that.
void
Developer
Posts: 19984
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort inactivates mix files and folders

Post by void »

Everything 1.5.0.1416b will now find duplicates after mixing files and folders.
arof
Posts: 13
Joined: Tue Dec 05, 2017 10:41 pm

Re: sort inactivates mix files and folders

Post by arof »

Thanks a ton for this, will make the feature incredibly helpful for so many deduplication/name cleanup tasks I've been working on.
anmac1789
Posts: 752
Joined: Mon Aug 24, 2020 1:16 pm

Re: sort inactivates mix files and folders

Post by anmac1789 »

Same problem with me, a number of pile of hard drives and USB stick's with gigantic number of duplicate files