Well this took way too long to figure out. I had a typo in a print statement that made it take even longer. Doh.
As it was hard won, and involved sorting pieces of paper on our tiled kitchen counter to better understand the bubble sort, I thought I’d record the moment.
Fun discovery: an animated comparison of sorting algorithms.