@A_Kh Usually by default SAS prints the data in ascending order. As per your information I understood the values you mentioned are belong to "VISIT" variable. And you might have using similar code to execute. Proc report data=datasetname; columns VISIT; /* Define Visit /display; */ run; For assisting you, can you please share the code and inputs for below questions: * Values seems like not getting generated from SAS, and those are strings if yes then are you typing those manually? * These values are constant or having any dependency? Kindly correct me if am wrong.
... View more