Fixed bubble sort.