Insertion/bubble sort.