aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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