In general, the person nearest the camera should be in sharp focus. One exception will be if one person is more important than the rest. For example, a bride among four bridesmaids should be in focus, even if one or more of the bridesmaids are closer to the camera.