reordering of header table