Sorting algorithms/Cocktail sort: Difference between revisions

m
m (→‎{{header|360 Assembly}}: A better comment)
Line 34:
=={{header|360 Assembly}}==
{{trans|PL/I}}
The implemented algorithm is the « cocktail shaker sort ».<br>
The program uses HLASM structured macros (DO,ENDDO,IF,ELSE,ENDIF) for readability and two ASSIST/360 macros (XDECO,XPRNT) to keep the code as short as possible.
<lang 360asm>* Cocktail sort 25/06/2016
1,392

edits