The ordinal() method returns the ordinal of an enum instance. How can I set the ordinal for an enum?
ordinal()