If you don't need the EVF in the Sony, X-AVCS or 24fps video, Then the G7X is actually a good buy. Normally I wouldn't say this since Canon is way behind on sensor tech, but the G7X actually uses the same Sony rx100 sensor, coupled with a better lens/zoom.
I am guessing size is the reason you are looking at these two cameras?