ignore original sorts when comparing constraints, fixes #1296
Merge pull request #1310 from spechub/1296-improve_constraint_comparisons

ignore original sorts when comparing constraints, fixes #1296