Describes cocktail sort