In this article:

Google Sheets Auto Sort: Easiest Method in 2024

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.

Use our rent reminder app to easily set up custom reminders from your spreadsheet in just a few clicks. 

If you enjoyed this article, you might also like our article on how to sort data in Google Sheets or our article on how to custom sort in Google Sheets. 

If you want to learn how to sort rows in Google Sheets or how to use mail merge in Google Sheets, we also suggest checking out our detailed guide.

Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started