From e52513e74175e0b193cfcb34020bcd4b44620001 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 20 May 2014 10:15:11 +0400 Subject: [PATCH] Sort in reverse chronological order --- tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags.py b/tags.py index d8a14f4..e1d5dd1 100644 --- a/tags.py +++ b/tags.py @@ -61,5 +61,5 @@ def find_tags(tree): _posts.append(( '/'.join((year, month, day, post[0].replace('.tmpl', '.html'))), post[1])) - _posts.sort() + _posts.sort(reverse=True) return _posts -- 2.39.2