What is the syntax for DimensionSortOrder?
DimensionSortOrder(DimName, CompSortType, CompSortSense, ElSortType , ElSortSense)
- DimName = Dimension Name
- CompSortType = sort type for components of consolidated elements
- ByInput: retain the original dimension element insert order
- ByName: sort by name
- CompSortSense = the sense of order for CompSortType either ‘Ascending’ or ‘Descending’. This applies only when the CompSortType is ByName.
- Ascending: ascending alphabetical order
- Descending: descending alphabetical order
- ElSortType = sort type for all elements
- ByInput: retain the original dimension element insert order
- ByName: sort by name
- ByLevel: Sorts dimension elements by level.
- ByHierarchy – Sorts dimension elements by hierarchy.
- ElSortSense = the sense of order for ElSortType either ‘Ascending’ or ‘Descending’. This applies only when the ElSortType is ByName.
- Ascending: ascending alphabetical order
- Descending: descending alphabetical order