I believe that the current order of these Java enumeration is defined by chance. If anything, it should follow the XSD definition as provided in http://xmpp.org/rfcs/rfc6120.html#schemas-client . In the TINDER-64 I've explained that I am not comfortable with such a change in Tinder, as it's likely to cause more
trouble (backwards compatibility in third party implementations) than do any good.
In Java we don't need to refer to the ordinal of an element in an enumeration. Although we can refer to those ordinals (referring to "available" using the value "1"), it's considered bad practise. Why use "1" if you can use the identifier "available" directly?