Sort search search results in descending order by using id