Sorting algorithms/Selection sort: Difference between revisions
m
→{{header|Arturo}}
m (→{{header|Phix}}: added syntax colouring the hard way, made runnable) |
Drkameleon (talk | contribs) |
||
Line 614:
while [not? empty? tmp][
minIndex: index tmp min tmp
'sorted ++ tmp
remove 'tmp .index minIndex
]
|