Changing sorter func interface