> If the elements are already the program will perform fewer operations. On the contrary, if the items are in reverse order, it will require more swap operations to get it sorted.
I think you're missing a word in the first sentence.
I think you're missing a word in the first sentence.
> If the elements are already sorted the program...