I've noticed a slight difference in sharpness between my D610 and D7100. They both have 24mp on the sensors. The 7100 with the smaller sensor, but same number of pixels, is a wee bit sharper.
I assumed it was the smaller sized pixels crammed into a smaller sensor that makes the difference.