Template InsertionSort