Tweak of TriValOrdering