addSort terms to queryHelper