finish bubble sort