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 2007 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.
Using the Sort dialog box, you can create multi-level sorts that meet a variety of specifications.
Select a cell in the column you want to use to sort
From the Data command tab, in the Sort & Filter group, click SORT![]()
The Sort dialog box appears.
In the Order pull-down list, select A to Z or Z to A
The data is sorted according to the selected order.
Select the custom list by which you want to sort
EXAMPLE: select Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
In the Order pull-down list, select a color and appropriate sort order
EXAMPLE: select
Blue and On Top
In the Then by row of the Sort dialog box, select the additional sort options

Click OK
Click OK
The data is sorted.