`sort` bulit-in function
raviqqe opened this issue · 0 comments
raviqqe commented
Problem
- There is no quick way to sort generic lists.
Solution
- Add a
sort
built-in function. - It type is
\([T], \(T, T) boolean | none
.- The result values mean:
none
: equalfalse
: less thantrue
: greater than
- Or just
boolean
for "less than" and "greater than or equal?"
- The result values mean: