---
schema_version: "1"
id: 985de8fc38228a53ff29be2cdbc210e43cce2ad3410c9e5be22fd8e53c59fdf3
title: Sorting Data
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/reader/desktop/reader_sort.md
canonical_url: https://help.tableau.com/v0.0/reader/desktop/en-us/reader_sort.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 365f6543485a272383196aeb338ee7346531ef1b657c803532d91ac230652a96
description: In Reader you can sort items in a table based on a measure used in the view
---
[Skip to main content](#main-content)

# Sorting Data

In Reader you can sort items in a table based on a measure used in the view. Sorting gives you control over the order that dimension members are listed in a table and can often reveal relationships between fields.

#### To sort items in a table:

1. Select the items you want to sort.
2. Click one of the sort buttons ![](/tableau/next/en-us/reader/desktop/en-us/Img/quick_sort1_59x27.png) on the toolbar.

**Note:** The tool tips for the sort buttons tell you how the table is going to be sorted.

For example, click the Sort Ascending button to reorder the bars in the chart from lowest sales to highest sales, as shown below.

![](/tableau/next/en-us/reader/desktop/en-us/Img/rsort2_684x465.png)

You can also sort items by dragging the field labels in a column. In the example below, Regular Espresso is dragged to move below Mint. The new location is indicated by the black line.

![A sorted column.](/tableau/next/en-us/reader/desktop/en-us/Img/sortcolumn.png)

You can also manually sort items in the view using the Legend. To manually sort items do the following steps:

1. In the Legend, right-click anywhere in the white space and select Sort from the context menu.
2. In the Sort dialog, in the Manual section, select items that you want to reorder and then use the Up and Down buttons to move items in the list.
    
    ![Sort dialog box with the Manual sort option selected.](/tableau/next/en-us/reader/desktop/en-us/Img/ManualSort.png)

## Resetting sort order

You can reset how a table is sorted by either clicking the Undo button or by reverting the workbook to its saved state. For more information about how to revert a workbook, see [Reverting Workbooks](https://help.tableau.com/v0.0/reader/desktop/en-us/revert.htm).