an>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        get sorted list of item frequencies</span>
<span class="sd">        :return: item frequencies</span>
<span class="sd">        :rtype: dict</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="n">itemFrequencies</span> <span class="o">=</span> <span class="p">{}</span>
        <span class="k">for</span> <span class="n">tid</span> <span class="ow">in</span> <span class="bp">self</sp