This Add-In is used to save the current column order for the presently open data table as well as any column groups that may exist. Running the Add-In will create a script that is saved to the data table named "Set Saved Column Order". When this saved script is run your column order and groups will be restored to what they were when the Add-In was originally run.
Simply put, running the Add-In produces a script that will restore your column order and groupings - if they ever change.
More than one column order can be saved at a time by simply re-running the Add-In. One advantage of having the script saved to the data table is that other data tables that use the original table as a source will have this "Set Saved Column Order" script saved to it as well as the source script.
If one or more column is deleted between the time the Add-In is run the and the time the saved script is run then column order and grouping will be restored to what they were minus the columns that are no longer present. Deleting a column should not break the script.
If one or more columns has been added between the time Add-in is run and the time the saved script is run, then those new columns will be appended to the end of the restored column order.