Given the following array of integers:
{ 12, 20, 11, 10, 14, 16, 15, 10 }We sort the array using insertion sort in the ascending order.
Output the array elements at the iteration when the sorted part consists of five elements.
The output format:
12 20 11 10 14 16 15 10