Blog
>
Tutorials

Google Sheets Auto Sort: Easiest Method in 2023

3 Minutes

The ability to auto sort in Google Sheets is useful when handling large sets of data, it allows us to find or display information quickly and in a structured manner.

How to Auto Sort in Google Sheets using Built-in Features

Using cell actions:

Step 1: Select the data range you want to order

Step 2: Right click > View more cell actions > Sort Range

Google Sheets - Sorting data: Inbuilt feature

This can also be achieved by selecting the Data option from the top menu bar followed by Sort range which will then present two quick options to order the range A-Z or Z-A. Click Advanced range sorting options:

Google Sheets - Sorting data: Inbuilt feature through data menu

Step 3: Choose the column you want to sort or add another column and choose A-Z or Z-A

Google Sheets - Sorting data: Inbuilt feature menu

Step 4: Select Sort, your data in the table will be ordered to your parameters

Auto Sort using the SORT Function

The SORT function is an efficient and flexible way to organize data when managing large datasets. The function can be applied to order a single column or can be applied to multiple columns.

Example

For this demonstration a dataset has been created displaying three shoes with a variety of sizes. We will arrange this data to view the shoes and their sizes by ascending order (A-Z).

Step 1: Open your existing data set or create a new one

Step 2: Select an empty cell next to your data set

Please ensure that you leave adequate room for the new data to populate

Google Sheets - Sorting data: Example data set

Step 3: Enter the SORT function

=SORT(RANGE,First Column, is_ascending)

Multiple Columns:

=SORT(RANGE,First Column, is_ascending, Secondary Column, is_ascending)

Formula Breakdown:

=SORT(

RANGE: This is range of data you wish to organize

First Column: Columns within your range are called from left to right starting with the number 1, the column specified first will be the first one to be ordered.

Is_ascending: This value is set via a true/false value and applicable to the first defined column, if true - the sorted data will be in an ascending order, if false - the data will be sorted in a descending order.

Secondary Column: This column will be sorted after column 1

Is_ascending: This value is set via a true/false value and is applicable to the secondary specified column, if true - sorted data will be in an ascending order, if false - data will be sorted in a descending order.

Google Sheets - Sorting data: The SORT function

In this example we are going to include all of the data in the range and organize both columns by ascending order. In this example “Item Name” is the first column organized followed by “Size”. 

Step 4: Press enter and your results will populate

Google Sheets - Sorting data: Results

Supercharge Your Spreadsheets with Lido

🚀 Import data from anywhere and build custom tools and powerful dashboards straight from your spreadsheet. Discover what's possible in our Build Gallery.

Lido is a new spreadsheet built for automation. Trigger emails, slack messages, and more directly from a spreadsheet.