merge targets and orders