Sorting algorithms/Cocktail sort with shifting bounds: Difference between revisions

(Added Algol 68)
Line 565:
BEGIN # cocktail sort with shifting bounds #
 
# sorts data, a using a cocktail sort with shifting bounds #
# a reference to the sorted data is returned #
# - defined as an operator as Algol 68 has operator overloading but not #
3,028

edits