reversePair - does what it says