Insertion sort works.