Ordering columns in Table alphabetically by column header. Functionality does not allow to update column order?

I am populating the same Table with a Data Function (Matlab) which returns columns of data with different names at each run.

After each run I would like the columns to be re-order alphabetically (this is ordering columns, not sorting values in a column).

I have set the table to integrate automatically columns generated by the data function.

If some columns exist in the table with names that also appear in the results from a new run, the columns stay in place and are simply repopulated with new data.

New names are appended after the last pre-existing column.

This makes it difficult to find the column that contains the data for a specific variable when there are many columns..

How can I overcome this?.

(1) Answer