Jacob put the maids with their children first. Then he put Leah and her children behind them, and he put Rachel and Joseph in the last place.