summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/completion/tag.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/completion/tag.py b/alot/completion/tag.py
index 7b876841..68b33fee 100644
--- a/alot/completion/tag.py
+++ b/alot/completion/tag.py
@@ -13,5 +13,5 @@ class TagCompleter(StringlistCompleter):
:param dbman: used to look up available tagstrings
:type dbman: :class:`~alot.db.DBManager`
"""
- resultlist = dbman.get_all_tags()
+ resultlist = sorted(dbman.get_all_tags())
super().__init__(resultlist)