Sorted the first pass for bubble sort.