How to sort elements in a column chart in SAS

sas

#1

In the above image sales are displayed by the month.However the months are not in alphabetical order.
How do I sort the columns on month so that the columns are for : Jan,Feb,Mar,Apr,May----Dec.??


#2

Hi,

You can create a columns writing if/ else condition for ranking the months, say January -> 1, Feb - 2 and so on and then sort the data based on it and plot a chart.

Hope this helps.

Regards,
Aayush Agrawal