Add test for search distributor about hash style sortBy