Solve InsertionSortList.