Based on the insertion sort code traced in the demo. Given an array

{15, 2, 46, 3, 10, 9}
.

What is the state of the array when

i = 4

and the call to insertInOrder is complete?

{2, 3, 10, 15, 46, 9}
  • {2, 3, 9, 46, 15, 10}
  • {2, 3, 15, 46, 10, 9}
  • {2, 3, 10, 46, 15, 9}
  • {2, 3, 9, 10, 46, 15}

There are no hints for this question