<sortCondition> (Sort Condition)

Sort condition. When more than one sortCondition is specified, the first condition is applied first, then the second condition is applied, and so on.

Parent Elements

<sortState>3.3.1.89)

Attributes

Description

<customList> (Custom List)

Sort by a custom list.

The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96).

<descending> (Descending)

Sort descending.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<dxfId> (Format Id)

Format Id when sortBy=cellColor or fontColor

The possible values for this attribute are defined by the ST_DxfId simple type (§3.18.26).

<iconId> (Icon Id)

Zero-based index of an icon in an icon set. The absence of this attribute means "no icon"

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<iconSet> (Icon Set)

Icon set index when @sortBy=icon.

The possible values for this attribute are defined by the ST_IconSetType simple type (§3.18.44).

<ref> (Reference)

Column/Row that this sort condition applies to. This must be contained within the ref in CT_SortState.

The possible values for this attribute are defined by the ST_Ref simple type (§3.18.64).

<sortBy> (Sort By)

Type of sort.

The possible values for this attribute are defined by the ST_SortBy simple type (§3.18.74).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_SortCondition">
	<attribute name="descending" type="xsd:boolean" use="optional" default="false"/>
	<attribute name="sortBy" type="ST_SortBy" use="optional" default="value"/>
	<attribute name="ref" type="ST_Ref" use="required"/>
	<attribute name="customList" type="ST_Xstring" use="optional"/>
	<attribute name="dxfId" type="ST_DxfId" use="optional"/>
	<attribute name="iconSet" type="ST_IconSetType" use="optional" default="3Arrows"/>
	<attribute name="iconId" type="xsd:unsignedInt" use="optional"/>
</complexType>