supporting sort on CR with undefined CR reference