A sort indicator is being created using the SORTEDBY data set option.
data mysort(sortedby=var1); length var1 8.; do var1=1 to 10; output; end; run; ods select sortedby; proc contents data=mysort; run;