I would like to sort a List/Set
of Class
given a personnal order (like A.class
< B.class
< C.class
for instance). But Class
doesn't implements Comparable
, and I obviously can't customize the class Class
without rewriting the whole Java language, so what are my options?
Thanks a lot !