Adding ability to set a sort query on the search