fixed bug with duplication checker by sorting the output of eval.