Enter an expression equivalent to:
IF THE LETTERS HAVE THE SAME EXPONENT, order it from alphabets. SO A FIRST THEN B.