the fact that calling sorted(b) where b is a reversed object affects the following comparison &quot;sorted(b) == sorted(b)&quot; is wierding me out..<p>Ref: <a href="http:&#x2F;&#x2F;pastebin.com&#x2F;VQs9GSzp" rel="nofollow">http:&#x2F;&#x2F;pastebin.com&#x2F;VQs9GSzp</a>