Y6 Compare and order (denominator)