How to sort address alphabetically in SAS?
How to sort address alphabetically in SAS? I have a dataset that has bunch of addresses. dataset PROC SORT DATA=work68; by ADDRESS ; run; However it only show ADDRESS columns like .. it considers only the very first number of address.. ADDRESS 2237 Strang Avenue 2932 Ely Avenue 3306 Wilson Ave 3313 Wilson Avenue 3313 Wilson Avenue 3313 Wilson Avenue 46 Nuvern Avenue 3 Answers 3 You can use the option SORTSEQ=LINGUISTIC(NUMERIC_COLLATION=ON) to ask SAS to try and sort numeric values as if they were numbers. SORTSEQ=LINGUISTIC(NUMERIC_COLLATION=ON) PROC SORT DATA=work68 sortseq=linguistic(numeric_collation=on); by ADDRESS ; run; how about alphabets in the address?? – juhee Chung Jul 2 at 4:23 I'm not entirely ...