Sort Cross References

Oops, youโ€™re not logged in!
for a free account.

This script is part of the Indexes and Concordances collection. See the full collection here.ย  For more information about working with indexes and concordances in InDesign, see here.

Cross-references are printed in the order in which they were added to the document. If you add to a topic a cross-reference to the topic Python, and later, at the same topic, create a cross-reference to the topic JavaScript, you end up with See also Python; See also JavaScript. This can be fixed with a script.

This script is useful only in single-document texts, and it just sorts a topic’s cross-references. For books and additional cross-reference handling, see the next section.

Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by CreativePro.com


Scripts by Topic | Script Index
Basic Script Installation and Use
How to Modify or Configure These Scripts
Resources for Scripting and Publishing Automation
About This Repository


Repository Home Page


Contact Peter Kahrel


Note to users: You run scripts at your own risk: CreativePro and the author accept no liability for anything that may be caused by any of these scripts. Always take the necessary precautions. We encourage you to save backups and test scripts on copies of your documents.

Bookmark
Please login to bookmark Close

This article was last modified on September 10, 2026

Comments (0)

Leave a Reply

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

Loading comments...