text: One pass of bubble sort . After this pass , the largest element is moved ( or bubbled ) to end .
code: for i in range ( n - 1 ) : NEW_LINE INDENT if self . array [ i ] > self . array [ i + 1 ] : NEW_LINE DEDENT