Page 7 of 8
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 15:23
by MaxEnrik
There seems to be no chance of correcting them.
Is it possible to make them grouped by date created as Windows offers?
Group by > Date Created
(and then sorting by type/extension)
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 15:26
by admin
?
Read my last post again...
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 15:56
by MaxEnrik
Impossible.
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 16:00
by admin
Are you okay?
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 17:02
by MaxEnrik
Unfortunately, my limited English makes me don't understand the post.
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 17:07
by admin
Secondary sorting (like you do with Ext) is only possible if the primary sorting creates groups of identical items (what I called "blocks"). But your primary sorting by Created does not create any blocks since all the created dates are different.
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 17:22
by Garonne
admin wrote: ↑17 Feb 2023 17:07
Secondary sorting (like you do with
Ext) is only possible if the primary sorting creates groups of identical items (what I called "blocks"). But your primary sorting by
Created does not create any blocks since all the created dates are
different.
Isn't the date blocked? If I understand the picture correctly he's sorting by date first and extension second.
Since all
dates (not times) are equal (all files are same date) XY is sorting the files by extension second...
That's why the files are displayed mp4 first and vtt second. The times are not ordered since they are considered equal...
If I'm not stupid, he wants the times ordered as well... So, I think he should order by extension first and date second.
That way he would get mp4 first followed by vtt's, each sorted by creation date (and time)
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 17:31
by admin
Yes, I guess you're right.
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 18:07
by MaxEnrik
Thank you for the clarification.
Before I posted about the issue, I had experimented with what you said in the last posts.
And I just tried sorting primary .ext and the secondary date and vice versa - still the same.
When I only sorted with the date, all were correct.
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 19:12
by admin
OK, I see now what you mean. With SortSecondaryByExactDate=0 the time part of the date is totally ignored. Therefore Created column gets scrambled when secondary-sorting by Ext. Not nice, I agree. Not easy to fix though. I'll look into it.
... okay, I think I could handle it by employing BubbleSort instead of QuickSort for the secondary sorting. No time for it now, but some day...
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 21:10
by MaxEnrik
Thank you for your understanding.
Have a nice one!
Re: Miscellaneous - Questions
Posted: 17 Feb 2023 22:51
by Garonne
admin wrote: ↑17 Feb 2023 19:12
OK, I see now what you mean. With
SortSecondaryByExactDate=0 the time part of the date is totally ignored. Therefore Created column gets scrambled when secondary-sorting by Ext. Not nice, I agree. Not easy to fix though. I'll look into it.
... okay, I think I could handle it by employing BubbleSort instead of QuickSort for the secondary sorting. No time for it now, but some day...
Well... Isn't it supposed to be that way with
SortSecondaryByExactDate=0? Shouldn't
SortSecondaryByExactDate=1 fix that?
I mean:
If I sort
Primary: Extension and
Secondary: Creation Date (Exact), wouldn't that yield a correctly sorted filelist?
Based on the files below:
mp4 first (sorted by file date)
vtt second (sorted by file date)
?
At least that's what I would expect... Isn't that the result expected?
Then again: I don't actually understand, why the time is truncated on
secondary sorting... It would make much more sense to me to omit the time on primary sorting (though only if you DO have a secondary sorting... Uhhh... Or is that the meaning of that tweak? I'm a little confused now...)
Re: Miscellaneous - Questions
Posted: 18 Feb 2023 09:35
by admin
Yes, SortSecondaryByExactDate=1 would fix it, but then you get almost no secondary sorting because the primary groups are so small (only files with exactly the same timestamp).
With SortSecondaryByExactDate=0 you get primary groups for each
day (time is ignored). And then 1. Created / 2. Ext yields a different picture from 1. Ext / 2. Created.

- Created.png (13.92 KiB) Viewed 1768 times

- CreatedExt.png (11.3 KiB) Viewed 1768 times

- ExtCreated2.png (10.24 KiB) Viewed 1759 times
PS: These screenshots are from the fixed version I have here (using BubbleSort).
Re: Miscellaneous - Questions
Posted: 18 Feb 2023 11:26
by MaxEnrik
The 2nd one is what I am looking for.
Re: Miscellaneous - Questions
Posted: 18 Feb 2023 11:29
by admin
Well, the new beta is there. Try it.