Example (continued) With a gap of 3: [1, 2, 4, 3, 6, 5], [5, 7, 8, 9]. Using insertion sort on each subarray: [1, 2, 4, 3, 6, 5] -> [1, 2, 3, 4, 5, 6] [5, 7, 8, 9] -> [5, 7, 8, 9] With a gap of 1, perform a final insertion sort on the entire array: [1, 2, 3, 4, 5, 6, 7, 8, 9]. The array is now sorted.