How to merge multiple orders into one order