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 descending order after applying the expression to each element. The function returns the array [10, 8, 6, 4, 2]. ORDERBYDESC([2,
3, 5, 4, 1], Item*2)
|
2. |
The following example returns an array of blobs ordered from largest to smallest area.
ORDERBYDESC(BlobAnalysis.BlobFound, Item.Area)
|