respect the sorting when associating copied children