He put the female servants and their children first, then Leah and her children behind them, then Rachel and Joseph behind them.