Add cocktail sort