sorted() using Generator Expressions Rather Than Lists
<p>After seeing the discussion here: <a href="http://stackoverflow.com/questions/4154116/python-generate-the-time-difference/4154298#4154298">Python - generate the time difference </a> I got curious. I also initially thought that a generator is faster than a list, but when it comes to sorted() I don't know. Is there any benefit to sending a generator expression to sorted() rather than a list? Does the generator expression end up being made into a list inside sorted() before sorting anyway?</p>

<p>EDIT: It grieves me to only be able to accept one answer, as I feel a lot of responses have helped to clarify the issue. Thanks again to everyone.</p>
