sort
sort(
@llll ## required
@function null
) -> llll/null
Returns a sorted @llll. An lambda @function can be optionally provided with the following signature:
$a, $b -> (
## Should return 1 if $a is lesser than $b, 0 if not
)
Arguments
@llll[llll] (required)@function[function/null] (default:null)
Output
Sorted @llll. [llll/null]
warning
sort is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, sort will return null without raising an error if required arguments are not provided.