Initial version of sorted

Yields iterators rather than references.
Reworks sorted to yield from *iterator

Rather than the iterator itself, a wrapper class dereferences the
iterator.
Adds testsorted
Adds testsorted to gitignore
Adds testsorted to SConstruct