You asked
How do I keep two people sharp at f 1 4 when they re standing at different distances indoors?
Stop down to about f/2.8. At f/1.4 the depth of field can be thinner than a face, so if one person is sharp, the other at a different distance will likely be soft. The portraits guide recommends f/2.8 for two people at different distances. You keep the subject separated from the background, and you get enough depth to hold both faces.
Two other adjustments help. Move the pair so they sit at roughly the same distance from the camera, which does more for sharpness than any lens change. You can also step back and use a longer focal length, since the guide notes that blur grows with focal length and with getting closer to the subject. Stepping back keeps the depth front to back more even.
Indoors, stopping down means less light reaches the sensor, so you may need more light or a higher ISO to keep the shot exposed. If you're often shooting groups in rooms, the guide suggests a 35mm f/1.8 or f/1.4 for environmental portraits and groups. A wider lens gives you more depth at the same aperture, and it shows where people are standing. Note that very wide lenses exaggerate whatever sits closest to the camera, so keep the nearest person at a reasonable distance.
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}.