ovsdb: Print enum elements for man pages in alphabetical order.
The previous behavior printed them in a pseudorandom order, which made
them look odd in man pages.
@@ -296,6 +296,7 @@ class BaseType(object):
if self.enum:
literals = [value.toEnglish(escapeLiteral)
for value in self.enum.values]
+ literals.sort()
if len(literals) == 1:
english = 'must be %s' % (literals[0])
elif len(literals) == 2:
