title: My Plot chart is not working as i expected
body: <p><a href="https://i.stack.imgur.com/nQnvb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nQnvb.png" alt="izip" /></a></p>
  <p>Here is the result. As you can see the order is 1,2,4,3 it should be 1,2,3,4. Here how i render it</p>
  <pre><code>import csv
  
  import matplotlib.pyplot as plt
  
  time = []
  total = []
    
  with open('new.csv','r') as csvfile:
      plots = csv.reader(csvfile, delimiter = ',')
        
      for row in plots:
          time.append(row[0])
          total.append(row[1])
    
  plt.plot(time, total)
  plt.xlabel('Dates')
  plt.ylabel('Transactions')
  plt.show()
  </code></pre>
  <p>and here is my csv</p>
  <pre><code>2022-08-25,1
  2022-08-26,2
  2022-08-27,4
  2022-08-29,3
  </code></pre>
  <p>How can i fix it ? thanks in advance</p>