As Dan posted above, the camera can only focus to one distance regardless of how many subjects are in the frame no matter how sophisticated the AF system. If you can arrange the scene (position yourself) so the distance to one subject is the same or very close to the distance to the other subject(s) then you can get both in decent if not perfect focus. So yes, leaving Bird subject detection enabled is usually the best bet but that will still just detect one of the birds and hopefully others are pretty much the same distance from the camera.
Depth of Field (DoF) is determined by the aperture you set for your lens (f/stop) and as you stop down you increase the range of distances that will appear sharp in the image so by stopping down the lens one or a couple of stops if the light allows you get more margin for multiple subjects that aren't exactly the same distance from your camera but there's only so far you can practically take this. IOW, two Swallows on a fence with only a few inches distance difference between the the eye of one and the eye of the other is usually manageable especially if you reposition slightly so you're more perpendicular to the fence (keeping the distance closer to the same). But a couple or many subjects at greatly different distances when shot with long focal length lenses (relatively high magnification) or in macro situations (very high magnification by working so close) is tough and often stopping down a few stops still doesn't bring enough DoF to keep everything sharp. There are advanced techniques like focus stacking where multiple images each focused individually are combined to create one sharp image can be used but those are tougher situations.
Bottom line, when shooting wildlife with long focal length lenses things get tougher as you include more subjects assuming you want to keep all of their eyes sharp. When light allows, a bit of stopping down to increase DoF can help and setting up your shot so more or all of your subjects are at or very close to the same distance can help a ton but of course that's not always possible.