Descending Sort in Filter (Transform-How To)

Issue:

Creating a Descending Sort

Resolution:

Sorting by DESC order in Filter

To sort the result set in descending order, we use the sortBy attribute within the Filter and use the “-” symbol to represent descending sequence. In the following example, we are creating a descending sort on typeId field:

<pfx:filter id="mirrorEventFilter" sortBy="-typedId">