This demo shows how to display sortable column headings.
The columns ORDER_NO, QTY, and PRICE are all sortable, by clicking on the arrows next to the column headings.
In the schema declaration, you will notice how these columns all have the facet fox:listSortKey. This tells Fox to set up the arrows to enable the user to sort the columns manually.