GETASCENDING Function (Record)
Gets the sort order for the records returned. You can use GETASCENDING to identify the sort order of the specified field because fields can be sorted in ascending or descending order.
For example, you can read data from an ODATA web service where the data is sorted in ascending order on the Name field but in descending order on the City field.
Type: Record The record in the table to search.
Type: Field The field that you want to get the sort order for.
true, if the specified filed is sorted in ascending order; otherwise false.