From a5a4b6e0cf5c76f231c1c8fc8ceed1032fa3644c Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Mon, 23 Jun 2014 09:32:03 +0000 Subject: fsemulation: by-tags: sort tags Present the tags listing (i.e. the entries of the by-tags directory) in alphanumerical sort order to make it easier for the user to locate a particular tag they're looking for. --- diff --git a/fsemulation.py b/fsemulation.py index d02d58e..714338d 100644 --- a/fsemulation.py +++ b/fsemulation.py @@ -932,7 +932,7 @@ class ByTagsDirectory(Directory): tags.update((value or u'').split()) tags.discard(u'') - return tags + return sorted(tags) class SearchResultDirectory(ByTitleDirectory): -- cgit v0.9.1