ActionSort
DescriptionSorts the grid in ascending or descending order
ExamplesDim sf As OlapXSortFlag
sf = OlapXSFAsc
With Cube1
 Call .setValue("Row", 1)
 Call .setValue("Col", 1)
 Call .setValue("SortFlag", sf)
 Call .DoAction("Sort")
End With
Example ExplanationThis example says: Click on cell (1, 1) of data grid. Choose ascending sort for the SortFlag variable.
See also
SetValueSets a control variable
NotesThe data matrix grid begins at (0, 0) at its top left cell.
You can use: 0 for no sort, 1 for ascending sort and 2 for descending sort instead of the sf variable.