Click or drag to resize
BaseInfoSortAlphabetically Method
Sort objects alphabetically.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
protected void SortAlphabetically(
	bool ascending,
	string orderColumn,
	string nameColumn
)

Parameters

ascending
Type: SystemBoolean
Indicates whether the order will be ascending or descending.
orderColumn
Type: SystemString
Name of the column that is used for storing the object's order. If null, OrderColumn is taken from TypeInfo.
nameColumn
Type: SystemString
>Name of the column by which the alphabetical order will be set.
See Also