sort search results by time