Changing sorter() to sorted()

Thomas pointed out that Python uses sorted() for a generator like
this, which also happens to be the first name I used before deciding
that it sounded like a boolean query rather than an iterator.