Reorder tables.