revise definition for cand type
mv sort_and_group_cands to CandOrganizer