You asked
Which lens suits group portraits on a sony a6400?
For group portraits on a Sony a6400, the lens matters more than the body. The portraits guide recommends wide-to-standard primes around 35mm for groups, but the a6400's lens list shown here doesn't include one, so these zooms are the closest fit.
The strongest pick is the Sigma 16-28mm f/2.8 DG DN Contemporary. On the a6400 it frames like 24-42mm on full frame, wide enough to fit four or five people in a room without backing into a wall. Its f/2.8 aperture also helps keep faces sharp at the edges. The Tamron 17-28mm f/2.8 Di III RXD gives a similar view, 26-42mm equivalent, if you prefer its handling.
If you also want headshots, the Sigma 18-50mm f/2.8 DC DN Contemporary is the more versatile choice. It goes to about 27-75mm equivalent, so it's less wide for big groups but better for tighter framing.
Whichever you pick, the light guide matters more than any lens. Put the group near a window or in open shade, and expose for the faces. The a6400 has no stabilisation in the body, so keep the shutter fast in dim rooms, and stand back a little so faces stay in proportion. Note that none of these three lenses is listed here as having stabilisation.
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}.