/span> <pre class="binding-text">(insert-sorted arr &lt;? &amp; xs)

Insert elements in `arr` such that it remains sorted by the comparator. If
`arr` is not sorted beforehand, the results are undefined. Returns `arr`.</pre></div><hr><div class="binding"><span id="misc/insert-sorted-by" class="binding-sym">misc/insert-sorted-by</span> <span class="binding-type">function</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/7fd743ac09e857fe0ebd333bd7a56cd0df3876c3//spork/misc.jan