I have a list of classes which house two variables (X and Y). X is the main drive for the sorting and Y acts like a negative multiplier.
The class with the highest X (first) variable and the lowest Y (second) variable needs to be sorted first, while the class with the lowest X and highest Y, as last.
Samples (0-100, 0-10): (100,0) (100, 1) (90, 0) (95, 2) (80, 0) (0,0) (10, 3) (0,5)