API to sort search results, multiple search columns and directions.