And he put the female slaves and their children first, then Leah and her children next, then Rachel with Joseph last.