Bubble sort edits