<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">
There is the following documentation in notmuch-search(1).
Note: The thread order will be distinct between these two options (beyond being sim‐
ply reversed). When sorting by oldest-first the threads will be sorted by the oldest
message in each thread, but when sorting by newest-first the threads will be sorted
by the newest message in each thread.
If what you are seeing is consistent with that, then I guess it's
officially not a bug.
<font color="#000000">When sorting by oldest-first the threads will be sorted by the oldest UNREAD
message in each thread, but when sorting by newest-first the threads will be sorted
by the newest message in each thread.</font>