<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Thread sorting issue in Thunderbird – incorrect order and date display when grouped by threads in Firefox Labs</title>
    <link>https://connect.mozilla.org/t5/firefox-labs/thread-sorting-issue-in-thunderbird-incorrect-order-and-date/m-p/135444#M5211</link>
    <description>&lt;P&gt;Same here (Thunderbird 154.0, Windows 11).&lt;/P&gt;&lt;P&gt;As an example, this is how a "Sent" folder looks now,&amp;nbsp;with "View -&amp;gt; Sort By -&amp;gt; Date, Descending, Threaded":&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date      ;  Subject;    Body
-------------------------------
2025-12-27;  Thread-4;  Message-1
2025-12-20;  Thread-2;  Message-1
    2025-12-24;  Thread-2;  Message-2
    2025-12-26;  Thread-2;  Message-3
2025-12-23;  Thread-3;  Message-1
2025-12-19;  Thread-1;  Message-1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Personally, I find this misleading and difficult to follow. I don't like that the Date column does not look sorted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;P&gt;If I set&amp;nbsp;&lt;FONT face="courier new,courier"&gt;mailnews.sort_threads_by_root = True&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;(as mentioned here), the same "Sent" folder would looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date      ;  Subject;    Body
-------------------------------
2025-12-27;  Thread-4;  Message-1
2025-12-23;  Thread-3;  Message-1
2025-12-20;  Thread-2;  Message-1
    2025-12-24;  Thread-2;  Message-2
    2025-12-26;  Thread-2;  Message-3
2025-12-19;  Thread-1;  Message-1&lt;/LI-CODE&gt;&lt;P&gt;This is somewhat more consistent, but less useful (IMHO).&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I actually want is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date      ;  Subject;    Body
-------------------------------
2025-12-27;  Thread-4;  Message-1
2025-12-26;  Thread-2;  Message-3
    2025-12-24;  Thread-2;  Message-2
    2025-12-20;  Thread-2;  Message-1
2025-12-23;  Thread-3;  Message-1
2025-12-19;  Thread-1; Message-1&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;That is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The "Date" column is actually sorted.&lt;/LI&gt;&lt;LI&gt;The most recent message in a thread is shown as the "top level" message. Other related messaged shown inside (newest on top).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;AFAIU, it is not currently possible to achieve the desired behavior.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Aug 2026 20:58:05 GMT</pubDate>
    <dc:creator>i3v</dc:creator>
    <dc:date>2026-08-22T20:58:05Z</dc:date>
    <item>
      <title>Thread sorting issue in Thunderbird – incorrect order and date display when grouped by threads</title>
      <link>https://connect.mozilla.org/t5/firefox-labs/thread-sorting-issue-in-thunderbird-incorrect-order-and-date/m-p/109809#M4826</link>
      <description>&lt;P&gt;Hello Thunderbird team,&lt;/P&gt;&lt;P&gt;I’ve encountered an issue with message sorting in the latest ESR version of Thunderbird (140.4.0, 64-bit).&lt;/P&gt;&lt;P&gt;When messages are sorted by &lt;STRONG&gt;Date (Descending)&lt;/STRONG&gt; and &lt;STRONG&gt;Grouped by Thread&lt;/STRONG&gt; is enabled, the thread view does not correctly reflect the selected sorting order.&lt;BR /&gt;Specifically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Threads are not reordered according to the newest message within each thread.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The parent (root) message of a thread always stays in the same position, even when new replies are received.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;displayed date for the thread&lt;/STRONG&gt; does not match the date of the latest message inside the thread.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Individual messages inside the thread also ignore the descending date order.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Expected behavior:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The main thread entry should represent the newest message within the thread, showing its actual date, and the overall sorting should respect the chosen "Date (Descending)" order.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here is a screenshot that demonstrates the incorrect order and mismatched dates.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-11-12 09_03_25-Window.jpg"&gt;&lt;img src="https://connect.mozilla.org/t5/image/serverpage/image-id/12871i16C3E3D32418F28A/image-size/large?v=v2&amp;amp;px=999" alt="2025-11-12 09_03_25-Window.jpg" title="2025-11-12 09_03_25-Window.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Additional info:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Version: &lt;STRONG&gt;Mozilla Thunderbird 140.4.0esr (64-bit)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;OS: &lt;STRONG&gt;Windows 10 22H2 (x64)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Setting: &lt;STRONG&gt;Sort by Date (Descending)&lt;/STRONG&gt; + &lt;STRONG&gt;Group by Thread&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Config value mailnews.sort_threads_by_root = &lt;STRONG&gt;false&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Issue persists even in safe mode (tested with all add-ons disabled)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for looking into this - it seems to be a regression or sorting logic inconsistency when threaded view is active.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;&lt;STRONG&gt;Michal&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Nov 2025 08:57:00 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/firefox-labs/thread-sorting-issue-in-thunderbird-incorrect-order-and-date/m-p/109809#M4826</guid>
      <dc:creator>Alzi</dc:creator>
      <dc:date>2025-11-12T08:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Thread sorting issue in Thunderbird – incorrect order and date display when grouped by threads</title>
      <link>https://connect.mozilla.org/t5/firefox-labs/thread-sorting-issue-in-thunderbird-incorrect-order-and-date/m-p/115725#M4933</link>
      <description>&lt;P&gt;Same issue!&lt;/P&gt;&lt;P&gt;Additional info:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Version: &lt;STRONG&gt;Mozilla Thunderbird 140.6.0esr (64 bits)&amp;nbsp;&lt;/STRONG&gt;(but existed on my last OS once I installed &lt;STRONG&gt;Nebula&lt;/STRONG&gt;)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;OS: &lt;STRONG&gt;Linux Mint 22.2 (x64)&lt;/STRONG&gt;&amp;nbsp;(my last OS was on &lt;STRONG&gt;Mint 21.3&lt;/STRONG&gt;)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Setting: &lt;STRONG&gt;Sort by Date (Descending)&lt;/STRONG&gt; + &lt;STRONG&gt;Group by Thread&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Also:&amp;nbsp;&lt;STRONG&gt;Sort by Read Status + Group by Thread&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Config value mailnews.sort_threads_by_root =&lt;STRONG&gt;???&lt;/STRONG&gt; (I don't know, but the bug appeared when I upgraded to Nebula)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 12 Jan 2026 20:11:38 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/firefox-labs/thread-sorting-issue-in-thunderbird-incorrect-order-and-date/m-p/115725#M4933</guid>
      <dc:creator>ADRN</dc:creator>
      <dc:date>2026-01-12T20:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Thread sorting issue in Thunderbird – incorrect order and date display when grouped by threads</title>
      <link>https://connect.mozilla.org/t5/firefox-labs/thread-sorting-issue-in-thunderbird-incorrect-order-and-date/m-p/135444#M5211</link>
      <description>&lt;P&gt;Same here (Thunderbird 154.0, Windows 11).&lt;/P&gt;&lt;P&gt;As an example, this is how a "Sent" folder looks now,&amp;nbsp;with "View -&amp;gt; Sort By -&amp;gt; Date, Descending, Threaded":&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date      ;  Subject;    Body
-------------------------------
2025-12-27;  Thread-4;  Message-1
2025-12-20;  Thread-2;  Message-1
    2025-12-24;  Thread-2;  Message-2
    2025-12-26;  Thread-2;  Message-3
2025-12-23;  Thread-3;  Message-1
2025-12-19;  Thread-1;  Message-1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Personally, I find this misleading and difficult to follow. I don't like that the Date column does not look sorted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;P&gt;If I set&amp;nbsp;&lt;FONT face="courier new,courier"&gt;mailnews.sort_threads_by_root = True&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;(as mentioned here), the same "Sent" folder would looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date      ;  Subject;    Body
-------------------------------
2025-12-27;  Thread-4;  Message-1
2025-12-23;  Thread-3;  Message-1
2025-12-20;  Thread-2;  Message-1
    2025-12-24;  Thread-2;  Message-2
    2025-12-26;  Thread-2;  Message-3
2025-12-19;  Thread-1;  Message-1&lt;/LI-CODE&gt;&lt;P&gt;This is somewhat more consistent, but less useful (IMHO).&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I actually want is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date      ;  Subject;    Body
-------------------------------
2025-12-27;  Thread-4;  Message-1
2025-12-26;  Thread-2;  Message-3
    2025-12-24;  Thread-2;  Message-2
    2025-12-20;  Thread-2;  Message-1
2025-12-23;  Thread-3;  Message-1
2025-12-19;  Thread-1; Message-1&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;That is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The "Date" column is actually sorted.&lt;/LI&gt;&lt;LI&gt;The most recent message in a thread is shown as the "top level" message. Other related messaged shown inside (newest on top).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;AFAIU, it is not currently possible to achieve the desired behavior.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Aug 2026 20:58:05 GMT</pubDate>
      <guid>https://connect.mozilla.org/t5/firefox-labs/thread-sorting-issue-in-thunderbird-incorrect-order-and-date/m-p/135444#M5211</guid>
      <dc:creator>i3v</dc:creator>
      <dc:date>2026-08-22T20:58:05Z</dc:date>
    </item>
  </channel>
</rss>

