Notes: sort titles in natural, locale-aware order on the server and in the sidebar #1614

Open
opened 2026-10-12 13:25:11 +00:00 by kayg · 0 comments
Owner

Notes lists sort titles in plain code point order: uppercase before lowercase, and "Digest 10" before "Digest 2" (seen in #1612 screenshots). Finder and Apple Notes use a locale-aware natural order (case-insensitive, numbers by value).

Make the server's paged Notes list sort with a natural, locale-aware collation, and make the sidebar tree use the same comparator (#1612 aligned both to code point order for consistency). Paging must stay stable (keyset on the collation key plus ID). Include a bench check: the list query must not slow down on a large Home.

Notes lists sort titles in plain code point order: uppercase before lowercase, and "Digest 10" before "Digest 2" (seen in #1612 screenshots). Finder and Apple Notes use a locale-aware natural order (case-insensitive, numbers by value). Make the server's paged Notes list sort with a natural, locale-aware collation, and make the sidebar tree use the same comparator (#1612 aligned both to code point order for consistency). Paging must stay stable (keyset on the collation key plus ID). Include a bench check: the list query must not slow down on a large Home.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1614
No description provided.