Bug 1491

Summary: add option to change sort order within threads
Product: Claws Mail (GTK 2) Reporter: Tom Horsley <horsley1953>
Component: UI/Message ListAssignee: users
Status: NEW ---    
Severity: enhancement CC: 3nan.ajmain+login, me
Priority: P3    
Version: 3.2.0   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Always sort by date ASC within a thread when by thread date
none
Always sort by date ASC within a thread when by thread date none

Description Tom Horsley 2008-01-26 02:10:21 UTC
I would really like to work with the most recent mail at the top of the summary
window, but if I do that and also use the threaded view, the individual messages
within the thread are in some order that my brain just can't accept :-).

It would be nice if there was a way to set the sort order within a thread tree
independent of the sort order of the roots of the threads.
Comment 1 Olivier Brunel 2016-05-20 20:35:38 UTC
Created attachment 1648 [details]
Always sort by date ASC within a thread when by thread date

When sorting by date descendingly, it doesn't really make sense to sort messages
within a thread any other way than ascendingly (regardless of sort order), since
most will already be done so, due to their parent/children relationship.

So, when sorting by thread date we sort messages within a thread by date
ascendingly, regardless of current sort order.
Comment 2 Olivier Brunel 2017-01-15 18:21:54 UTC
Created attachment 1710 [details]
Always sort by date ASC within a thread when by thread date

v2: Only when threaded (i.e. using "Thread View" mode)

Also a bump: any reviews/comments on this?
Comment 3 Enan 2022-11-22 08:40:25 UTC
(In reply to Tom Horsley from comment #0)
> It would be nice if there was a way to set the sort order within a thread tree
> independent of the sort order of the roots of the threads.

It doesn't make sense to me for threaded emails to be sorted in descending order. So I think in threaded view, the emails inside a thread should be sorted in ascending order BY DEFAULT, but I will be happy if there were an option.


(In reply to  Olivier Brunel  from comment #2)

Thanks for the patch. Simple, and works as expected. I hope it gets merged soon, or at the very least, reviewed.