summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-08-16 19:20:13 +0100
committerYann Herklotz <git@yannherklotz.com>2020-08-16 19:20:13 +0100
commitd11f2ab3579ab48517ffa1be7884a639783cdbe4 (patch)
tree626a1310aa6d188073d6dba7e3081882d313b0ca
parent7295961ff1ba95e65319081cefabd2b8b6bf3890 (diff)
downloadorg-zettelkasten-d11f2ab3579ab48517ffa1be7884a639783cdbe4.tar.gz
org-zettelkasten-d11f2ab3579ab48517ffa1be7884a639783cdbe4.zip
Update the order of the index
-rw-r--r--zettelkasten.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/zettelkasten.el b/zettelkasten.el
index 3af8f5c..48576d8 100644
--- a/zettelkasten.el
+++ b/zettelkasten.el
@@ -310,7 +310,7 @@ If PARENT is nil, it will not add a link from a PARENT."
"\n\n* Index\n\n"
(apply
#'concat
- (zettelkasten--generate-list-for-note-nc (zettelkasten--list-notes-without-parents)))
+ (zettelkasten--generate-list-for-note-nc (sort (zettelkasten--list-notes-without-parents) 'string>)))
"\n* Tags\n\n"
(apply
#'concat