changed sort order of cdids