reorganizing by problem type