fix ordering in CDR