Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQuerySortAlphabetically Method
Sorts the object alphabetically.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public void SortAlphabetically(
	bool ascending,
	int parentId = 0,
	int siteId = 0,
	int groupId = 0
)

Parameters

ascending
Type: SystemBoolean
If true, the resulting order will be ascending
parentId (Optional)
Type: SystemInt32
Only objects under this parent object will be sorted
siteId (Optional)
Type: SystemInt32
Only object within this site will be sorted
groupId (Optional)
Type: SystemInt32
Only objects within this group will be sorted
See Also