insertion sort with sentinel wip