reorder priorities