add CocktailSort and StoogeSort