Files
t3code/apps/web
Cursor Agent e09809f495 Fix NaN from NEGATIVE_INFINITY subtraction in sortThreadsForSidebar
When two threads both yield Number.NEGATIVE_INFINITY timestamps, the
subtraction (-Infinity) - (-Infinity) produces NaN, which bypasses the
ID-based tiebreaker and causes unpredictable sort order.

Use explicit comparison (=== / >) instead of subtraction, matching the
pattern already used in sortProjectsForSidebar.
2026-03-24 19:10:49 +00:00
..
2026-02-19 01:42:56 -08:00