reorder the recovery flags