Sort:  

and then, rinse and repeat.