Sort using a custom comparator: Difference between revisions

Line 3,404:
an inplace sort of arrayed collections is done with eg.:
<lang smalltalk>#('here' 'are' 'some' 'sample' 'strings')
sortWithsort:[:a :b | a reversed < b reversed]</lang>
 
=={{header|Standard ML}}==
Anonymous user