Comment Comment by pents90 It’s not. The inner loop operates only from i+1 to n in exchange sort and the resulting swaps are very different. parent pents90 5 years ago