diff --git a/Sorts/CocktailShakerSort.js b/Sorts/CocktailShakerSort.js index 1442fa2a4..1d9c94e38 100644 --- a/Sorts/CocktailShakerSort.js +++ b/Sorts/CocktailShakerSort.js @@ -3,8 +3,9 @@ * The algorithm extends bubble sort by operating in two directions. * While it improves on bubble sort by more quickly moving items to the beginning of the list, * it provides only marginal performance improvements. - * more information: https://en.wikipedia.org/wiki/Cocktail_shaker_sort - * more information: https://en.wikipedia.org/wiki/Bubble_sort + * + * Wikipedia (Cocktail Shaker Sort): https://en.wikipedia.org/wiki/Cocktail_shaker_sort + * Wikipedia (Bubble Sort): https://en.wikipedia.org/wiki/Bubble_sort * */ function cocktailShakerSort (items) {