This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?
The Sort command arranges worksheet data by text (i.e., A to Z, Z to A), numbers (i.e., smallest to largest, largest to smallest), dates, or times (oldest to newest, newest to oldest). This document shows you how to sort your Excel 2008 worksheet data.
NOTE: Once data is sorted, subgroups can be subtotaled. For more information refer to Calculating Subtotals in Databases.
If you simply want to sort your data by one column from smallest to largest or largest to smallest, you can do so with one click.
On the Standard toolbar, click SORT A-Z
or SORT Z-A![]()
Your data is sorted based on the selected column.
Using the Sort dialog box, you can create multi-level sorts that meet a variety of specifications.
Select a cell in the desired column to sort
From the Data menu, select Sort...
The Sort dialog box appears.
In the Then by pull-down menu, select the column you want to use

Using the pull-down menu, select the custom list by which you want to sort
EXAMPLE: Select Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
Click OK