Filter Encoding is an OGC Standard. Copyright (c) 2010 Open Geospatial Consortium. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
<fes:SortBy xmlns:fes="http://www.opengis.net/fes/2.1"> <fes:SortProperty>{1,unbounded}</fes:SortProperty> </fes:SortBy>
<xsd:element name="SortBy" type="fes:SortByType" substitutionGroup="fes:AbstractSortingClause"/>
<fes:SortProperty xmlns:fes="http://www.opengis.net/fes/2.1"> <fes:ValueReference>{1,1}</fes:ValueReference> <fes:SortOrder>{0,1}</fes:SortOrder> </fes:SortProperty>
<xsd:element name="SortProperty" type="fes:SortPropertyType" maxOccurs="unbounded"/>
<xsd:element name="SortOrder" type="fes:SortOrderType" minOccurs="0"/>
<xsd:complexType name="SortByType"> <xsd:sequence> <xsd:element name="SortProperty" type="fes:SortPropertyType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>
<xsd:complexType name="SortPropertyType"> <xsd:sequence> <xsd:element ref="fes:ValueReference"/> <xsd:element name="SortOrder" type="fes:SortOrderType" minOccurs="0"/> </xsd:sequence> </xsd:complexType>
<xsd:simpleType name="SortOrderType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="DESC"/> <xsd:enumeration value="ASC"/> </xsd:restriction> </xsd:simpleType>