Jacob put the slave girls with their children first, then Leah and her children behind them, and Rachel and Joseph last.