I want to sort this Enum as reversed alphabetical order and return it. When I try to use compareTo method by overriding it I saw that it is declared as final.
Is there a way to override Enum similar with compareTo
How is it possible to sort this so I get:
D,C,B,A
public enum Test {
C(1)
B(2)
A(3)
D(4)
}