Specifies the array to sort.
Specifies the expression to apply to each element of the source array.
1. |
The following example sorts the source array in ascending order after applying the expression to each element, and the function returns the array [1, 2, 3, 4, 5]. ORDERBY([3, 1, 4,
5, 2], Item)
|
2. |
The following example returns an array of blobs ordered from smallest to largest area.
ORDERBY(BlobAnalysis.BlobFound, Item.Area)
|