As a rule, the order in which elements are created does not matter. But if you use macros (to extract the value of another dialog element) in elements of the “Table” type, the order of creation does matter. The rule is simple: the element with a macro must be created after the element the macro refers to.
A similar situation can be found in the demo example (the elements “Table_1” and “Table_2”).
You can use your mouse to change the order of creation by just dragging the element to the necessary position. You can also change the properties of any element in this window.