Adding a SortedIteratingSystem

Clean version of #84