---
title: "How to sort tabs in Google Sheets with Google Apps Script"
author: "Martin Hawksey"
date: 2023-03-07T20:41:11+00:00
canonical_url: https://pulse.appsscript.info/p/2023/03/how-to-sort-tabs-in-google-sheets-with-google-apps-script/
markdown_url: https://pulse.appsscript.info/p/2023/03/how-to-sort-tabs-in-google-sheets-with-google-apps-script.md
categories:
  - "Beginner"
  - "Sheets"
  - "Solutions"
tags:
  - "@LifeOfSpy"
  - "yagisanatode.com"
featured_image: https://pulse.appsscript.info/files/2023/03/ezgif-4-fd7fb86eaa.jpg
description: "Latest from Scott Donald, this time Scott is looking at Google Sheets tab sorting with Google Apps Script. Hepefully something for everyone in this post and for me it was learning about JavaScript's Intl.Collator(), which allows language sensitive string comparisons."
---

# How to sort tabs in Google Sheets with Google Apps Script

![How to sort tabs in Google Sheets with Google Apps Script](https://pulse.appsscript.info/files/2023/03/ezgif-4-fd7fb86eaa.jpg)

 

> Learn how to sort Google Sheet tabs in ascending and descending order with Google Apps Script Magic. Code and video inside!

Latest from Scott Donald, this time Scott is looking at Google Sheets tab sorting with Google Apps Script. Hepefully something for everyone in this post and for me it was learning about JavaScript’s `Intl.Collator()`, which allows language sensitive string comparisons.

Source: *[How to Sort Tabs in Google Sheets with Google Apps Script – Yagisanatode*](https://yagisanatode.com/how-to-sort-tabs-ingoogle-sheets-with-google-apps-script/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2023/03/how-to-sort-tabs-in-google-sheets-with-google-apps-script/](https://pulse.appsscript.info/p/2023/03/how-to-sort-tabs-in-google-sheets-with-google-apps-script/)*
