Before I even delve into this...
People understand it's already an obvious fact this would not be fair to G2 and is made as mere showing of which does which. Obviously the S5 has advantages of being newer.
Although in all fairness the S4 was an overall better package than the G2. In terms of display, camera, software, updates, sound quality, and so forth the S4 was better.
G2 was just a stronger chip, less bezels, and somewhat better battery...Mostly in call time or with white background.