separate orders to different types