Gets the direction the sort key has been applied to record set if
the sort key has been applied, is active.
Declaration Syntax
Return Value
Returns ASCENDING if the sort key has been
applied in ascending order and DESCENDING if
the sort key has been applied in descending order.
Returns NOT_ACTIVE if the sort key is not
being applied.