insertion sort with vectors