PROC SORT sorts SAS data sets by variables so that a new data set can be prepared for further use.