[−][src]Module buldak::cocktail_shaker
cocktail shaker sort algorithm.
O(N²)
Functions
sort | Sort in ascending order using a cocktail shaker sort algorithm. |
sort_by | It takes a comparator function to determine the order, and sorts it using a cocktail shaker sort algorithm. |
sort_reverse | Sort in descending order using a cocktail shaker sort algorithm. |