diff --git a/src/collective/dms/thesaurus/keywordsfield.py b/src/collective/dms/thesaurus/keywordsfield.py index fafd684..dd8cd93 100644 --- a/src/collective/dms/thesaurus/keywordsfield.py +++ b/src/collective/dms/thesaurus/keywordsfield.py @@ -78,7 +78,7 @@ class ThesaurusKeywordsWidget(SequenceWidget): thesaurus_path = '/'.join(thesaurus.getPhysicalPath()) value = [] - for token in self.value: + for token in sorted(self.value): # Ignore no value entries. They are in the request only. if token == self.noValueToken: continue