Sort numbers lexicographically: Difference between revisions
Content added Content deleted
(Added BaCon version.) |
|||
Line 178: | Line 178: | ||
=={{header|BaCon}}== |
=={{header|BaCon}}== |
||
Create a delimited string with numbers and use SORT$. |
|||
<lang bacon>CONST n = 13 |
<lang bacon>CONST n = 13 |
||
FOR x = 1 TO n |
FOR x = 1 TO n |