Skip to main content

Module sort

Module sort 

Source
Expand description

Deterministic orderings for the reader’s record lists.

These live here, beside the types, and are used by both the sidecar client and the Rust-native one. That is deliberate: the two clients coexist until cutover, and a divergence in ordering would not be a subtle bug — it would reorder the user’s feed list the moment the implementation swapped, in a way no test comparing the clients’ data would catch.

Functions§

folders
Folders: position (the lexicon’s sort hint; unset sorts LAST), then name (case-insensitive), then rkey.
saved
Saved entries: newest first by createdAt (RFC 3339 sorts lexicographically), then rkey ascending.
subscriptions
Subscriptions: display title (case-insensitive), then URL, then rkey.