Adding a SortedIteratingSystem and unit tests