HTML Architect: Deployment script generation order

Deployment scripts should be generated in such an order in which they can be run with no error. That means for example, that tables need to be created prior to foreign keys linked to them.

Now, For example, I created 3 tables and in one of them fields with foreign keys linked to the other two tables. The order is not correct and if 00020 is run before 00030 and 00040 it ends up with an error…