Add date sorting to the search results