You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make sortGroupsByLatest take precedence over sortGroupsByLabel in pivot mode
When sorting by 'updated' in pivot/grouped mode, sortGroupsByLatest was
called to reorder groups by recency, but sortGroupsByLabel always ran
unconditionally afterward, overwriting the recency-based ordering with
alphabetical label ordering. Changed to an else branch so the two sorts
are mutually exclusive: updated-sort uses recency, all others use label.
Fixed in both the main load path and the deep-search path.
Added regression tests verifying the correct group ordering behavior.
Co-authored-by: Copilot <[email protected]>
0 commit comments