From 254daf32716541dcf40d04af43060368eeea4e42 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 7 Oct 2024 20:51:27 -0300 Subject: Fix: export-koreader-note: sort annotations --- export-koreader-note | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/export-koreader-note b/export-koreader-note index 307e575..c70a96a 100755 --- a/export-koreader-note +++ b/export-koreader-note @@ -36,7 +36,8 @@ bookmarks = data.bookmarks annotations = data.annotations -- Sort -table.sort(bookmarks, compare) +table.sort(bookmarks, compare) +table.sort(annotations, compare) -- Iterate over bookmarks for key, item in ipairs(bookmarks) do -- cgit v1.2.3