added get distinct and sorted values of a field