Using eql means we are making assumption on the order that is returned. I guess it is simpler to compare the sorted keys.