def value_eq(self, other):
self_sorted = ordered.ordered(self.getvalues())<EOL>other_sorted = ordered.ordered(repeated.getvalues(other))<EOL>return self_sorted == other_sorted<EOL>
Sorted comparison of values.