Ordering numbers with squares and fractions