s="n">key</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span>
        <span class="k">return</span> <span class="n">dlist</span>
</div>
    <span class="k">def</span> <span class="nf">items_by_frequency</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="n">keylist</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">frequency_list</span><span class="p">()</span>
        <span cla