diff --git a/lib/galaxy/managers/taggable.py b/lib/galaxy/managers/taggable.py index edee585460ed..dc4508abefac 100644 --- a/lib/galaxy/managers/taggable.py +++ b/lib/galaxy/managers/taggable.py @@ -24,7 +24,7 @@ def _tag_str_gen(item): def _tags_to_strings(item): if not hasattr(item, 'tags'): return None - return list(_tag_str_gen(item)) + return sorted(list(_tag_str_gen(item))) def _tags_from_strings(item, tag_handler, new_tags_list, user=None):