[BUGFIX] Support Lazy ObjectStorage as sortBy in iterator.sort

Fixes: #267