MS SQL Server can be restructured using drag and drop in SSMS. Sequel Pro will do the same with MySQL. SQLite Expert purports to restructure as well for SQLite (haven’t tested it though).
In a relational sql db columns dont have a “position”
They’re tuples
Usually they are presented in the order of creation but I have seen them in alphabetical order and even a few others (grouped by column type etc)
How you want it presented is a display preference more than anything
You will have to look at the vendor’s implementation.
But the definition of SQL is, that there is no order of the columns. They’re actually not columns, they’re attributes - like with properties of a class in OOP languages there is no order for them too.
The above is also the reason to never use SELECT * FROM, but always use the names of the attributes like in SELECT rowId, firstname, lastname FROM. And in Xojo I would recommend to always use SomeRecordSet.Field(“lastname”) and never SomeRecordSet.IdxField(2).