solve insertion sort list