Options: sort values when displaying OptionSet (#326)
This commit is contained in:
parent
92319b0e31
commit
cf2e37f92d
|
@ -381,7 +381,7 @@ class OptionSet(Option, VerifyKeys):
|
|||
return cls.from_text(str(data))
|
||||
|
||||
def get_option_name(self, value):
|
||||
return ", ".join(value)
|
||||
return ", ".join(sorted(value))
|
||||
|
||||
def __contains__(self, item):
|
||||
return item in self.value
|
||||
|
|
Loading…
Reference in New Issue