Question: If there are male and female mayyits, how must they be placed before the Imam?

Answer: First the men, then the boys, thereafter the women and furthest the girls.