Should a family offer obligatory prayers at home in congregation, how do they stand in rows?

If a family including parents, sons and daughters offer a congregational prayer at home, then the Imam should be the man who recites the Qur’an best. This means that he could be a son while the father is in the congregation. The first row is for men, including boys, and the second row is for women, including girls. Should this take place when there is a large family gathering, then the same pattern as followed in mosques is followed here, with men in the first rows, followed by boys, then women.