implement real insertion sort, other was selection sort