Answer:
The common idiom is "comparing apples to apples" (and oranges to oranges) rather than "comparing apples and oranges" (alternatives that have little or nothing in common).
Example : A union complains that the engineers in a plant are paid more than the line workers. The company describes this as "comparing apples and oranges" because the activities and responsibilities of the positions are completely different.