Sorting fractions 1b