DatabaseBuilder orders the table columns by name with pk columns first a...

...nd fk columns last.
This made me think of another aspect. If someone specifies a primary key "B", "A", then "B" is somewhat more "important" than "A" so we should not order the primary key columns by name. What do you think?