></pre></div>
</div>
</div>
<div id="order-strings" class="section level1">
<h1>Order strings</h1>
<div id="str_order-order-or-sort-a-character-vector" class="section level2">
<h2><code>str_order()</code>: Order or sort a character vector</h2>
<p>Both base R and stringr have separate functions to order and sort
strings.</p>
<div class="sourceCode" id="cb33"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb33-1"><a href="#cb33-1" tabindex="-1"></a><span class="co"># base</span></span>
<span i