feat(memos): sort note lists from Z to A

Add a title Z-A option beside title A-Z on web, Android, iOS, the API, and the desktop sidecar. Pinned notes stay first, and same-title tie breaks stay as they were.
This commit is contained in:
tianma-if committed 2026-10-21 23:09:57 +08:00
1 parent 942dadc00e
commit 9f0d18ca54
26 files changed
+144 -22

No files matched your search

+1 -1
View File
@@ -176,7 +176,7 @@ const result = await context.notes.query({
notebookId: "optional-notebook-id",
text: "keyword",
tags: ["todo"],
sort: "updated-desc", // "updated-desc" | "created-desc" | "title-asc"
sort: "updated-desc", // "updated-desc" | "created-desc" | "title-asc" | "title-desc"
limit: 50,
offset: 0
});