add a comparison argument for sets with arbitrary contents.