secondary sort sorts by file location rather than the overall result

Discussion related to "Everything" 1.5 Alpha.
Post Reply
harryray2
Posts: 1070
Joined: Sat Oct 15, 2016 9:56 am

secondary sort sorts by file location rather than the overall result

Post by harryray2 »

On a related question, I tried using advanced (or secondary) sort, but I notice that the secondary sort sorts by file location rather than the overall result.

What I mean by that is that I normally have sorting set by date. I would like a secondary sort by size, but the size is sorted by the location of the file rather than the largest to smallest size.

Is there a way to make the secondary sort give the size not sorted by directory location?

Hope that makes some sort of sense.
Last edited by void on Sun Jun 19, 2022 12:10 am, edited 1 time in total.
Reason: moved from https://www.voidtools.com/forum/viewtopic.php?f=5&t=11683
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Why folders and files are always seperated in the result

Post by raccoon »

See if test version 1.5 alpha responds the way you would like it to.
harryray2
Posts: 1070
Joined: Sat Oct 15, 2016 9:56 am

Re: Why folders and files are always seperated in the result

Post by harryray2 »

No, I use 1.5, it doesn't appear to work
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: secondary sort sorts by file location rather than the overall result

Post by void »

Timestamps are essentially unique.

The secondary sort will mostly be ignored when the primary sort is a date.

Please try advanced sorting by:
Day Modified (not Date Modified) then
Size
harryray2
Posts: 1070
Joined: Sat Oct 15, 2016 9:56 am

Re: secondary sort sorts by file location rather than the overall result

Post by harryray2 »

Thanks, I'm trying it out now...I'm having the same problem as I had (before adjusting) when using my other instance of Everything, that the cancel current sort box keeps popping up.

Are there advantages of using day modified/created over date modified/created?
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: secondary sort sorts by file location rather than the overall result

Post by void »

There's a disadvantage because day modified/day created are not usually indexed so Everything will go to disk for this information.

This is most likely causing the cancel/wait dialog.
harryray2
Posts: 1070
Joined: Sat Oct 15, 2016 9:56 am

Re: secondary sort sorts by file location rather than the overall result

Post by harryray2 »

I think, because of the time it takes to sort, day modified/created may be a bit too impractical to use.

The problem with the dialogue box is that it doesn't just pop up when using Everything but every time I click on anything else.
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: secondary sort sorts by file location rather than the overall result

Post by void »

I'm looking into using the indexed date modified information for day modified.

Fow now, please consider specifying a date modified range for improved performance.
For example:
dm:thismonth sort:day-modified;size

Use a fast sort to avoid the cancel/wait dialog.

The next alpha update will remove blocking requests when losing focus.
harryray2
Posts: 1070
Joined: Sat Oct 15, 2016 9:56 am

Re: secondary sort sorts by file location rather than the overall result

Post by harryray2 »

Thanks, I'm already using file sort but I still keep running into the problem of the dialogue box popping up all the time.
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: secondary sort sorts by file location rather than the overall result

Post by void »

Could you please send some debug output:
  • Right click your Everything shortcut and click Properties.
  • Add -debug-log to the shortcut target, for example:
    Everything.exe -debug-log
    The next time you start this instance, could you please:
    ---wait for the Cancel current query dialog---
    From the Tools menu, under the Debug submenu, click Stop Debug Logging.
    ---this will open your Everything Debug Log.txt in Notepad---
    Could you please send this file to support@voidtools.com
After sending the debug logs, don't forget to disable debug logging mode:
  • Right click your Everything shortcut and click Properties.
  • Remove -debug-log to the shortcut target.
void
Developer
Posts: 15811
Joined: Fri Oct 16, 2009 11:31 pm

Re: secondary sort sorts by file location rather than the overall result

Post by void »

Everything 1.5.0.1316a improves a lot of blocking requests.

Please let me know if you are still seeing the cancel/wait dialog.



Using the day modified from the indexed date modified property is still on my TODO list.
Post Reply