Simple sort algorithms.