How to Sort a List by Date in Google Sheets

Google Sheets sorts dates correctly when the cells contain real dates, rather than text that only looks like a date. Select the entire list, then sort by the date column so each name, amount, and note stays with its original record.

Sorting A-Z puts the oldest dates first. Z-A puts the newest first. If the result jumps between months or years, correct the date values before trying the sort again.

Sort the whole list by its date column

Start with the table, not just the dates. Selecting only one column can leave the other cells behind, turning a correct set of records into mismatched information. I'd make a copy of an important sheet before its first sort.

For a list with headings, use the advanced range-sorting dialog. You can choose the date column and keep your headings out of the sort.

Drawing of the Google Sheets advanced range sorting options with Data has header row and the sort order highlighted
  1. On your computer, open the sheet and select the entire list, including all its columns and rows.
  2. Choose Data > Sort range > Advanced range sorting options.
  3. Turn on Data has header row when your selection starts with column labels.
  4. Select the date column in the sorting control.
  5. Choose A-Z for oldest first or Z-A for newest first, then click Sort.

Check several complete records after sorting. A date and its matching name should move together. Also check the first and last dates, including their years.

Sorting December before January can be right when those dates belong to different years.

For a single column containing dates and nothing else, select that date range. For a table surrounded by notes, leave those notes outside the selection. Google's own range sorting instructions describe the selection and header controls.

A heading that drops into the middle of the list means it was treated as a record. Undo the sort, select the proper range, and apply the header setting. Don't try to repair mismatched rows by moving individual dates afterward.

Fix dates that sort as text

A cell can display 12/01/2026 yet contain text imported from a CSV, copied from an email, or typed with an apostrophe. Alphabetical sorting then compares characters instead of arranging the calendar dates.

In an unused cell, enter =ISNUMBER(B2), replacing B2 with one of your dates. TRUE means Sheets sees a number, which is how it stores dates. FALSE means it isn't a numeric date.

An ordinary invoice number also returns TRUE. Run ISNUMBER on the date column, then check that each displayed value is the date you intended. Compare a working row with an entry that sorts incorrectly.

Select the affected dates and choose Format > Number > Date. This changes how numeric dates appear. It doesn't turn every unrecognized text string into a working date, so check the results before trying another format.

Once the values are valid, choose a Sheets date layout with a written month or another clear style before sharing the list.

For a text date that Sheets understands, put =DATEVALUE(B2) in a spare column. Fill the formula through the affected rows, then format the results as dates. Keep the original text until you've checked the converted values.

DATEVALUE needs text. Feeding it a numeric date can cause an error, so don't convert a whole column that mixes real dates and text. Convert the text entries, then use one consistent date column for the final sort.

A DATEVALUE error means the text wasn't accepted as a date. Retype a small sample with the month written as a word, or rebuild the value from known year, month, and day parts. Guessing the intended date can silently change the record.

Check the spreadsheet's date region

A date written as 06/07/2026 could mean June 7 or July 6. If a whole imported list has its days and months reversed, check File > Settings > Locale on a computer before converting more entries.

The locale sets the spreadsheet's default date and number formats. It changes the sheet's settings, not just how dates look in your browser. Choose the region that matches how the source list was written, then save the setting.

Changing locale won't repair a date already stored as the wrong numeric value. Compare a known appointment or transaction against the source, correct mistaken entries, and only then sort.

Checking an entry such as January 23 makes a day/month reversal easier to spot.

For lists received from other people, write the month as a word when checking a sample. That makes the intended calendar date clear without relying on whether the slash-separated values use month first or day first.

Make a sorted copy with SORT

A formula is useful when you want the source records to stay in their current order. In an empty area, enter =SORT(A2:D100,2,TRUE) for a table whose dates occupy its second column.

In this formula, A2:D100 covers all the records, 2 selects the second column, and TRUE puts the oldest dates first. Change TRUE to FALSE for newest first. Adjust the last row and column to match your actual list.

Keep the header outside the formula's source range and place your output labels separately. Leave four empty columns and enough rows for the results.

Existing content in the output area can stop the result from appearing.

Edit records in the source table. The formula builds the sorted result from those cells. Editing both lists by hand makes them harder to keep straight.

New rows outside the formula's selected range won't be included until you extend that range.

For sorting names instead, the Google Sheets alphabetizing steps explain text order. When bringing a workbook across first, convert Excel to Google Sheets before checking its date values.

Use mobile sorting controls

In the Android Sheets app, tap your date column's letter. Tap it again to open its menu. Choose More, then find SORT A-Z or SORT Z-A by scrolling.

On iPhone or iPad, select the column letter, tap its top again, and choose More. Tap SORT A-Z for oldest first or SORT Z-A for newest first. These commands use the selected column as the sorting key.

Check a complete record afterward, especially when multiple tables share the same sheet. To sort a specific range and mark its header row, use the dialog on a computer.

If valid dates still sort incorrectly, send a small anonymized example through Google Docs Editors Help.

The Short Version

Select all record columns and sort using the dates. Choose A-Z for earliest first. Repair text dates and day/month reversals before sorting. A SORT formula creates a separate result that updates from the source list.

Checked December 1, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment