summaryrefslogtreecommitdiff
path: root/alot/completion
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-21 10:01:35 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-21 10:01:35 +0100
commit78872bfc5a4698788345397fe180eda7c09c2eeb (patch)
tree9edec5d53247aa3286ff8027a51037517b0d6ae8 /alot/completion
parentf9b1260a6c4dec2c3b4291c7a206e04ec6b691bd (diff)
completion/tag: sort the tags
Diffstat (limited to 'alot/completion')
-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)