added searching/sorting variables through api
added contact groups by first initial of sortBy variable
make sure the data is getting sorted correctly