Passed sortBy tests and added ability to type in data provider.