Sorting Row and Column Values

Sort row and column values in ascending order by hovering over a header and clicking the left or up arrow (respectively):

Sort row and column values in descending order by hovering over a header and clicking the right or down arrow (respectively):