reverse

Returns a list result in the reverse order.

Function

result = reverse(input)

Arguments

ArgumentData Type
inputlist
resultlist

Comments

Reverses the order of a list.

This function is usually used with ordering to return a meaningful output. An example of this is shown below.

Examples

result = reverse([Direct Reports] order by [Name])