Refactor column ordering code out of MySqlDb->alterTable().