s="hidden name"><code>match_order.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Build a permutation p such that ids1[p] == ids2.  See <a href="https://win-vector.com/2017/09/02/permutation-theory-in-action/" class="external-link">https://win-vector.com/2017/09/02/permutation-theory-in-action/</a>.</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">match_order</span><span class="op">(</span><span class="va">ids1</