From a5e7dfd532539258fae798722f26c844248a976d Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 2 Jun 2020 09:54:41 -0700 Subject: [PATCH] Fix tag sorting --- inquisitor/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inquisitor/app.py b/inquisitor/app.py index 40ff9d0..ce98a32 100644 --- a/inquisitor/app.py +++ b/inquisitor/app.py @@ -68,7 +68,7 @@ def root(): # Create the feed control item link_table = ["{0}{1}".format( total, make_query_link("all", [], []))] - for tag, count in sorted(active_tags.items()): + for tag, count in sorted(active_tags.items(), key=lambda i: i[0].lower()): links = [count] links.append(make_query_link(tag, [tag], [])) if tag in wl: