How to sort in descending order?
Use DESCENDING keyword in PROC SORT code. The example below shows the use of the descending keyword.
PROC SORT DATA=auto;
BY DESCENDING engine ;
RUN ;