SORT-COMPARE.JS

bubble sort
comparisons:
swaps:

cocktail sort
comparisons:
swaps:







bubble vs cocktail optimized bubble vs cocktail cocktail vs gnome optimized cocktail vs gnome

cocktail vs selection gnome vs selection

bubble vs comb bubble vs gnome cocktail vs comb comb vs odd-even gnome vs odd-even comb vs gnome comb vs quicksort