correct bubble sort