Sorting algorithms/Insertion sort: Difference between revisions
Content added Content deleted
m (moved realbasic back to its own section; minor markup edits to rexx) |
m (→Icon and Unicon: header simplification) |
||
Line 558:
ENDDO</lang>
==
<lang Icon>procedure main() #: demonstrate various ways to sort a list and string
demosort(insertionsort,[3, 14, 1, 5, 9, 2, 6, 3],"qwerty")
Line 586 ⟶ 585:
on string : "qwerty"
with op = &null: "eqrtwy" (0 ms)</pre>
=={{header|J}}==
|