bugfix for ordering after column reorder