alot icon indicating copy to clipboard operation
alot copied to clipboard

Sort oldest first by newest email in thread

Open moridius opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. I use

search_threads_sort_order = oldest_first

in config to have the newest mails on the bottom. Unfortunately this sorts by the date of the oldest message in a thread. If someone replies to a three weeks old message the thread is not shown at the bottom where I expect the new mails to be.

Describe the solution you'd like I would like a configuration option to sort "oldest_first_by_newest_message" or similar. I tinkered with the source code a bit. If I hardcode "reverse = True" on top of rebuild() in buffers/search.py I get exactly what I want. However, there might be side effects I don't see yet.

Describe alternatives you've considered I tried sorting by newest_first but that feels unnatural as in every log file or messenger the new stuff is at the bottom.

Additional context

moridius avatar Dec 01 '22 10:12 moridius