Sort Parent Pages in InDesign with a Script

A script that makes it easy to keep your Pages panel neat and organized.

In InDesign, the only way to sort parent pages in the Pages panel is to drag them up and down. This is finicky: you need a steady hand. It’s easy accidentally to apply the parent spread you’re moving to another spread because the panel’s tolerance is near zero. That’s on Windows; on the Mac it’s even worse, apparently.

This is something you can probably live with (reluctantly) if your document has only a small handful of parent spreads. But if the document contains a lot of masters or if you have a lot of documents to process, then it’s more convenient to use the script described here.

To use the script, open a document and run the script from InDesign’s Scripts panel. It has no interface. When the script is done you see a copy of the document in a new tab with -fixed added to its name (so ch01.indd is copied to ch01-fixed.indd).

Before running the script: Parent pages in random order
After running the script: Parent pages in alphabetical order in a new document

Note: The original document was not touched. The script exported the document to IDML, ordered the master spread in there, renamed the IDML, and opened it.

That’s essentially all there’s to it. If you’re not interested in the technical background you needn’t read further – just download the script, install it, and use it.

Bookmark
Please login to bookmark Close

This article was last modified on June 26, 2025

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading comments...