My sorting algorithm doesn't function due to unknown reason
I’m trying to create a sorting algorithm, it contains a nested loop which compares each element of the array to all other elements in the array, and if an element is greater in value than any of its succeeding elements, they switch places with each other. But for some reason my program won’t output anything… Read More My sorting algorithm doesn't function due to unknown reason