mergesort(xs, @optional test = <) quicksort(xs, @optional test = <)
Return a list containing the elements of the list xs sorted according to test.
xs
test
quicksort([\b, \y, \s]) // [\b, \s, \y] mergesort([\b, \y, \s], char_is_gt) // [\y, \s, \b]
Core Module Index | Contents