complete bubble-sort