Anonymous user
Sort stability: Difference between revisions
m
→{{header|REXX}}: changed a comment.
mNo edit summary |
m (→{{header|REXX}}: changed a comment.) |
||
Line 866:
do j=1 for n-1 /*sort M items this time around. */
k=j+1 /*point to the next item. */
if @.j>@.k then do /*is it out
_=@.j /*assign to a temp variable. */
@.j=@.k /*swap current item with next ···*/
|