title: Converting dates from the format "01-Jan-2017" into something usable in R
body: <p>I have imported a data set into R, and the dates are in the format <code>01-Jan-2017</code>. I have tried using functions such as <code>as.Date()</code>, but it is not recognized as it is not in a standard format. </p>
  
  <p>I wish to sort the columns by date, so I was hoping there was a way to convert the current format into something I can use in R.</p>
  
  <p>Thanks in advance.</p>