How to sort data in chart?

we can sort the data in x axis in ascending or descending order by using "sort by" option from the right panel on the analysis screen.

We can select either of the option by choosing the radio button and chart will reflect the changes accordingly.