(easy) insertion sort in two parts