sorting search results for all ads