def bubble_sort(lst):
for i in range(len(lst) - 1, 0 , -1):
for current in range(0, i):
if (lst[current+1] > lst[current]):
temp = lst[current]
lst[current] = lst[current+1]
lst[current+1] = temp
return lst
data = [3, -2, -15, 6, 0, 2]
print(bubble_sort(data))