Pass sort by to object sorter.