Added sort by length to search query.