4D Plugin API, Commands and Topics for Order by
PA_AddFieldToOrderBy
(orderByRef; tNum; fNum; oDirection)
PA_CloseOrderBy
(orderByRef)
PA_OpenOrderBy
(tNum)
PA_OrderByRef
PA_OrderBy
(tNum; fNum; oDirection)