Text filter Query polishing
Client API Query: added sort support