modify pcc out sort