Finished bubble_sort_by