notation id. If by_ol is True, sorts by start offset, end offset and annotation id.</p>
<h2 id="args">Args</h2>
<dl>
<dt><strong><code>by_ol</code></strong></dt>
<dd>if True, use start offset, end offset, annotation id</dd>
</dl></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">class SortedIntvls:
    &#34;&#34;&#34; &#34;&#34;&#34;

    def __init__(self, by_ol=False):
        &#34;&#34;&#34;
        Create an interval index. By default, this sor