list
(
α
)
sort_with (
(
α
, 
α
Order.ordering
)
 
cmp
, 
list
(
α
)
 
l)
Sort a list with a custom order.This is a more powerful variant of sort_by.
cmp
A comparison function.
l
A list, possibly empty.

Comments

The browser you use is not supported by this application, probably because it lacks some critical features.
For a better experience, please consider using this application with a supported browser.