Use the Sort & Filter inspector to create sorting or filtering rules for a table.
Click Sort & Filter
in the toolbar.
When the Sort & Filter inspector is open, you see a pane on the right side of the window.
The Sort & Filter inspector has two panes that you can open to see more options.