Basic sorting techniques.