This document explains how to create a page order file with the help of a script, and then how to use this file in conjunction with cross referencing and with PDF output. It also identifies the limitations of this process.
https://supportnet.mentor.com/?do=reference.technote&id=MG540690