
The Sort dialogue box will pop up and it allows you to sort by column, sort on criteria, and order.

Under Data on the ribbon, click the Sort command.Begin by selecting the range of cells.Using the same set of data above, this time, we want to sort the data based on zip code but specifying the range of cells. It helps to avoid mixing up the information by specifying the size of the data set. Often a specific range of cells is selected for sorting as there are other sets of data available in the same spreadsheet, or only a specific part of data is required in the analysis. The city names under column A are now sorted alphabetically from A to Z, with the corresponding zip and state name intact. Under Data on the ribbon, click the Sort A to Z command to sort the city names alphabetically from A to Z.In this demonstration, it’s A2 (Los Angeles).

