Sort the new map data set.
The map data must be sorted in the order of the ID variables.
proc sort data=reflib.states1 out=reflib.states2; by region state; run;