seq-sort

seq-sort is a compiled Lisp function in `seq.el'.

(seq-sort PRED SEQ)

Return a sorted sequence comparing using PRED the elements of SEQ.
The result is a sequence of the same type as SEQ.