Base_Order_Expression as C = current_order_expn()
Returns the order for the primary table of the current session
CURRENT_ORDER_EXPN() returns the Base_Order_Expression of the primary table in a session. Can be used in a form or report, for example, to display the current order.
To display the order expression that a report is based on, define a calculated field with this expression: