diff --git a/src/pyj/read_book/annotations.pyj b/src/pyj/read_book/annotations.pyj index 12364ddef2..f1102db45e 100644 --- a/src/pyj/read_book/annotations.pyj +++ b/src/pyj/read_book/annotations.pyj @@ -163,6 +163,7 @@ class AnnotationsManager: # {{{ def all_highlights(self): ans = [h for h in Object.values(self.highlights) if not h.removed].as_array() + sort_annot_list(ans, highlight_get_cfi) return ans def merge_highlights(self, highlights):