Add DeterministicOrdering goodness for class