This document demonstrates how to sort a report's data. In this example, we'll use the report created in the following tutorial: Change or Apply Data Grouping to a Report. Note that as with data grouping, sorting can be performed only if a report is bound to a data source.
To sort records in a report, follow the instructions below.
-
Switch to the Group and Sort Panel, and click Add a Sort. In the invoked list, choose a data member across which the report is to be sorted.
Note that sorting across calculated fieldsis supported, as well.
-
To manage the sorting order (ascending or descending), use the Sort Orderdrop-down list.
And, if multiple sorting criteria are specified, you can define the priority for each one, by selecting it in the Group and Sort Panel, and using the Move Upand Move Downbuttons.
The sorting is now applied. Switch to the Preview Tab, and view the result.