To synchronize the metadata's column order to match the same order in the physical table in the database:
Right-click on one of the columns in the middle pane and select Sync the column order with the database.
This will reorder the metadata columns to match the column order in the database table.