Chris January wrote:
I just looked at what KMail does. It has both a Date column (for date of first message in thread) and Most Recent Date column (for date of most recent message in thread). Perhaps that's the way to go?
As I understand the first it's for ORDEREDSUBJECT and the letter for REFERENCES. If we need both we just should add an (working) option to change this behaviour. I think we don't need this (at least now) and we should just use default THREAD command sorting. Also probably not every server supports both.
Sorting by anything but the default order (i.e. index_sort=true) is incredibly slow with 30,000 or so messages.
THREAD command returns messages (threads) sorted by date, it's not possible to speed this up. Index_sort option will not help and we have two possibilities: