Added reordering of table cols.