title: R - ggplot2 issues with date as character for x-axis
body: <p>I'm new to using R and ggplot2, and I cannot figure out how to fix the issue with the graph I am trying to create.</p>
  <p><a href="https://i.stack.imgur.com/AstPY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AstPY.png" alt="enter image description here" /></a></p>
  <p>Here is what the graph looks like at the moment. I have dates on the x-axis, but for some reason they don't work with the year, but only order by the month and day.</p>
  <p>Here is a screenshot of the data I am working with:</p>
  <p><a href="https://i.stack.imgur.com/n9Qms.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n9Qms.png" alt="enter image description here" /></a></p>
  <p>As you can see, the order looks correct here.</p>
  <p>I produced a re-creatable sample where the same issue occurs</p>
  <pre><code>Week &lt;- c(&quot;1/6/2019&quot;, &quot;1/26/2020&quot;, &quot;6/7/2020&quot;)
  Coronavirus &lt;- c(0, 16, 67)
  Grubhub &lt;- c(65, 23, 59)
  UberEats &lt;- c(52, 80, 68)
  Doordash &lt;- c(27, 35, 50)
  
  my.data &lt;- data.frame(Week, Coronavirus, Grubhub, UberEats, Doordash)
  my.data
  
  test.output &lt;- ggplot(data = my.data, aes(x = Week, group = 1)) +
    geom_line(aes(y = Coronavirus), color = &quot;red&quot;) +
    geom_line(aes(y = Grubhub), color = &quot;darkgreen&quot;) +
    geom_line(aes(y = UberEats), color = &quot;blue&quot;) +
    geom_line(aes(y = Doordash), color = &quot;purple&quot;) +
    theme(axis.text.x = element_text(angle = 90)) +
    labs(title = &quot;Weekly Google Search Term Interest by Category&quot;, y = &quot;Search Term Interest&quot;, x = &quot;Week [2020]&quot;) 
  test.output
  </code></pre>
  <p>The order of the dates on the x-axis are incorrect here as well.</p>
  <p><a href="https://i.stack.imgur.com/x2zNM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x2zNM.png" alt="enter image description here" /></a></p>
  <p>Any suggestions on how I can fix the issue?</p>