W1353 Bubble Sort Refactored

From Coder Merlin