Cocktail Sort Visualization

Cocktail sort algorithm animation and implementation.

Comparisons are blue,
swaps are red.



It was a joke, okay? If we thought it would actually be used, we wouldn’t have written it!

Mark Andreesen