adds bubble sort