*Copyright @ www.mycsg.in;


Create a sample dataset

Understand the default sort sequence of character variables in SAS

Create a dataset named series01_sort01 by sorting series01 in ascending order of var

Modify the sorting sequence of character variables using the SORTSEQ option

Group lowercase and uppercase letters together

Group lowercase and uppercase letters together and give preference to lowercase letters

Group lowercase and uppercase letters together and give preference to uppercase letters

Sort character digits based on their numeric value

Key points to remember