Advanced Sorting – Example

In this example we will create a repeated table with the advanced sorting functionality.

  • Open 04_Table_Repeated_DONE.wfd.

  • Proof the solution and click on the header cells to sort the table rows.

  • We want to set up advanced sorting, by country, by surname within each country, and by first name within each surname.

  • Access Table | Subcomponents | Edit sorters and filters.

  • In the Sorting tab, click on the CountryLong criterion and add two more fields: CustSur, and CustName.

  • Proof the solution and click on the header cells to perform the sorting. The CustName and CustSur columns only perform simple sorting.

  • The CountryLong column provides advanced sorting. When clicked on, the table is sorted by the CountryLong variable, then by CustSur within each country, then by the CustName variable.

  • See 05_Table_AdvancedSort_DONE.wfd for the solution.