Reorder defect graph