Addiing perf script
Performed same sorting optimization on scout_search method