Hi everyone.
I am trying to create a code to sort an array of integer, but only between two positions of the array, not the all array.
like this:
array: 1 2 5 4 7 2 9 8
index: 0 1 2 3 4 5 6 7
i want to sort the array per exemple between the the index 2 and 5.
the result is...
array: 1 2 2 4 5 7 9 8
Can anyone give me some help with this function?
Thanks