The data set LIST contains names and mailing addresses. PROC SORT sorts the data by ZIP code.
options nodate pageno=1 linesize=80 pagesize=60;
data list;
   input Name $ 1-19 Street $ 20-39 City $ 40-54
         State $ 55-56 Zip $ 59-63;
   datalines;
Ericson, Jane      211 Clancey Court   Chapel Hill    NC  27514
Dix, Martin L.     4 Shepherd St.      Norwich        VT  05055
Gabrielli, Theresa 24 Ridgetop Rd.     Westboro       MA  01581
Clayton, Aria      314 Bridge St.      Hanover        NH  03755
Archuleta, Ruby    Box 108             Milagro        NM  87429
Misiewicz, Jeremy  43-C Lakeview Apts. Madison        WI  53704
Ahmadi, Hafez      5203 Marston Way    Boulder        CO  80302
Jacobson, Becky    7 Lincoln St.       Tallahassee    FL  32312
An, Ing            95 Willow Dr.       Charlotte      NC  28211
Slater, Emily C.   2009 Cherry St.     York           PA  17407
;

proc sort data=list;
   by zip;
run;