From: Silvio Rhatto Date: Mon, 7 Oct 2024 23:51:27 +0000 (-0300) Subject: Fix: export-koreader-note: sort annotations X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=254daf32716541dcf40d04af43060368eeea4e42;p=utils-doc.git Fix: export-koreader-note: sort annotations --- 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