merge order and filter