Sort using a custom comparator: Difference between revisions

Add min
(Add min)
Line 2,061:
qSort strList myCmp
print strList</lang>
 
=={{header|min}}==
{{works with|min|0.19.3}}
<lang min>("Here" "are" "some" "sample" "strings" "to" "be" "sorted")
(((length) (length)) spread <) sort print</lang>
{{out}}
<pre>
("strings" "sample" "sorted" "Here" "some" "are" "to" "be")
</pre>
 
=={{header|Nemerle}}==
1,808

edits