Ensure that items from the object repository are returned in a sorted order.
Remove an unnecessary unit test that attempted to dereference the end iterator.