I wonder if `pairs` is sorted secondly by `Location`. In `CIPairLess`, you compare only component.