If you do these in the reverse order, your sort order gets whacked. ScriptMaker stores some information is la la land that you cannot actively see. This is the page setup, the find critera, the sort critera, the import order and the export order. If you change these critera, you need to open the script, click edit, then close the script and you will get a dialog box asking if you want to keep the original setting or replace them. You only want to replace the things that have changed.
All trademarks are the property of their respective owners.
Unauthorized reproduction in any form is strictly prohibited without prior permission. Consequential and incidental damages are expressly excluded.