Same in Python 2. A collection can even override &quot;reversed&quot; to provide their own reversed collection&#x2F;iterator[0], not so for `sorted`.<p>[0] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;datamodel.html?highlight=data%20model#object.__reversed__" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;datamodel.html?highlight...</a>