He put Bilhah and Zilpah and their children in the first group, then Leah and her children in the next group and then Rachel and Joseph behind them.