Charts- Sorting

Is there a way to make a base table like the below sort by the Year-Month on the X-axis in the correct order? I am looking for Year-Month in the X with ID in the Y axis. The chart sorting does not seem allow for ascending/descending by a column (for example RowNo)

Does anyone have any ideas on what I could do?

Try this sort configuration, assuming that the category (X-axis) is [Year-Month].