Iterates through the unsorted part and makes a sorted part, shifting the existing sorted copy every time a new value is found in the unsorted segment that comes before another sorted value.
Iterates through the unsorted part and makes a sorted part, shifting the existing sorted copy every time a new value is found in the unsorted segment that comes before another sorted value.