Skip to content

sort_by

Signature

sort_by(array, expref)

Description

This function accepts an array argument and returns the sorted elements as an array using a custom expression to compute the associated value for each element.

Examples

TODO