first order history merge