For these hints, can we instead add trailing zeros until they all have the same length and then just sort them like that? Seems silly to convert to fractions when they're already in a nicely comparable form.