reorder headers