You asked

Which lens suits group portraits with a sony a6400 a 33mm or a 56mm?

For a group, the 33mm is the better choice. On the a6400's APS-C sensor it frames like a 50mm on full frame, a natural view that fits several people in the frame without distortion. The 56mm frames like 85mm, which is a tight portrait lens. You'd have to step far back to fit a group in, and the guide's portrait advice favours a 35mm for groups, which is close to the 33mm's field of view on this camera.

A 33mm prime isn't among the a6400 lenses this site lists by name, so a zoom covering that range is the practical route. These suit groups well:

The a6400 has no in-body stabilisation, so the stabilised lenses here help in dim rooms. Both groups and portraits depend more on the lens than the camera, so spend your budget there. For the full picture of focal lengths, the portraits guide and the focal length converter are useful.

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}.