Sort the axis scales.