finish  bubble sort