title: How to perform natural (lexicographic) sorting in R?
body: <p>Is there a <a href="https://en.wikipedia.org/wiki/Natural_sort_order" rel="noreferrer">natural sort</a> for R?</p>
  
  <p>Say I had a character vector like so:</p>
  
  <pre><code>seq.names &lt;- c('abc21', 'abc2', 'abc1', 'abc01', 'abc4', 'abc201', '1b', '1a')
  </code></pre>
  
  <p>I'd like to sort it aphanumerically, so I get back this:</p>
  
  <pre><code>c('1a', '1b', 'abc1', 'abc01', 'abc2', 'abc4', 'abc21', 'abc201')
  </code></pre>
  
  <p>Does this exist somewhere, or should I start coding?</p>