Right-click on the header bar. You can also drag the headers to re-order the columns, and click on them to sort by that field.