Working with a Dimension > Classes > DimensionFilter > DimensionFilter.getOrderByJSON
getOrderByJSON();
The getOrderByJSON method returns sorting settings for dimension elements in JSON format.
The example of use is given in description of the DimensionFilter.OnlySelected property.
See also: