You asked
How does the sigma 28 45mm f 1 8 compare with a 35mm prime for indoor group portraits?
For indoor group portraits, the Sigma 28-45mm f/1.8 DG DN Art is a zoom you can use at a fixed spot. On full frame (Sony E or L-Mount bodies), it covers 28-45mm, so you can step back to fit more people in the frame or move closer to one person without changing position much. Its f/1.8 aperture is as bright as a prime, which helps in dim rooms. It isn't stabilised, so the bright aperture and a larger sensor do more for low light than stabilisation would.
The portraits guide recommends a 35mm f/1.8 or f/1.4 for groups and environmental portraits. A 35mm prime is simpler and usually a good fit for a room where you can position people as you like. The Sigma gives you the choice of focal length, but its zoom range is narrower than a typical standard zoom, and the catalogue page doesn't give enough detail to compare build or weight with a 35mm prime. The guide's view is that the 35mm is the more direct choice for groups, and the Sigma is the flexible one.
Whichever lens you use, don't shoot groups wide open. At f/1.4 to f/1.8, depth of field can be thinner than a face, so people at different distances will go soft. The aperture and background blur section suggests stopping down to f/2.8 for two or more people at different distances. Keep the group at a similar distance from the camera, and move the background away from them if you can.
Written by Claude 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}.