sort — Sorts a List according to the YCP builtin predicate
list sort (
)
LIST
Sorted list
Sorts the list LIST according to the YCP builtin predicate. Duplicates are not removed.
sort ([2, 1, true, 1]) -> [true, 1, 1, 2]