Skip to content

Commit

Permalink
fix: use consistent ascending sort for journal index
Browse files Browse the repository at this point in the history
refer: #178
  • Loading branch information
lervag committed Sep 5, 2021
1 parent 8a8ce6b commit 11f9548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/wiki/journal.vim
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function! wiki#journal#make_index() " {{{1
endif
endfor

for year in reverse(sort(keys(sorted_entries)))
for year in sort(keys(sorted_entries))
let l:month_dict = sorted_entries[year]
put ='# ' . year
put =''
Expand Down

0 comments on commit 11f9548

Please sign in to comment.