2.87 SortBy

Applies to RDL 2003/10 and RDL 2005/01

The SortBy element specifies an expression by which to sort groups.

The following are the parent and child elements of the SortBy element.

Parent elements

Sorting

Child elements

SortBy.Direction

SortBy.SortExpression

The following is the XML Schema definition of the SortBy element.          

 <xsd:complexType name="SortByType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="SortExpression" type="xsd:string" />
     <xsd:element name="Direction" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Ascending" />
           <xsd:enumeration value="Descending" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>