Added re-ordering of masteries