Change the way elements are compared with each other.