this looks like it would let `[1,2,2]` agree with `[1,1,2]` but I guess we don't expect any duplicates in the lists anyway