You asked
Which g7 x model is better for indoor sports or night photos on a trip?
Here is what the site says about that.
From Your first camera: What a camera does better than a phone: - Zoom. Phones are great at wide angles and get weak quickly as you zoom in. A camera with a telephoto lens keeps its quality at long focal lengths: wildlife, sport, kids on a football pitch. - Low light and motion. A bigger sensor collects more light, so moving subjects indoors or at night stay sharp without the smeared, over-processed look. - Background blur that's real. A fast lens on ...
From Canon PowerShot G7 X: Canon PowerShot G7 X: A fixed-lens compact by Canon with a 20.2-megapixel 1-inch sensor, announced in 2014.
Quoted from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.