fix orderAndEqualConsistent law
Merge pull request #620 from xuwei-k/orderAndEqualConsistent

fix orderAndEqualConsistent law