Off topic, why is bubble sort called bubble sort? Is it because bubbles are slow?
Edit: Wikipedia [1] seems to agree:
The algorithm, which is a comparison sort, is named for the way smaller or larger elements "bubble" to the top of the list.
[1] https://en.wikipedia.org/wiki/Bubble_sort