aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-10-07 20:51:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-10-07 20:51:27 -0300
commit254daf32716541dcf40d04af43060368eeea4e42 (patch)
tree9c912c4859d1933a75ef78c00bf2d7e8e6d114d2
parent00a5863f4fab30fd7aec42d971dfb851f5cf22d1 (diff)
downloadutils-doc-254daf32716541dcf40d04af43060368eeea4e42.tar.gz
utils-doc-254daf32716541dcf40d04af43060368eeea4e42.tar.bz2
Fix: export-koreader-note: sort annotationsmain
-rwxr-xr-xexport-koreader-note3
1 files changed, 2 insertions, 1 deletions
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