Additional method for getting an Iterator over a sorted view. And test case.