//EnvQueryMananger.cpp
if (SortedTests.Num() && LocalGenerator->bAutoSortTests)
{
LocalOption->Tests.StableSort(EnvQueryTestSort::FAllMatching());
if (bOptionSingleResultSearch && MostExpensiveFilter)
{
// the only difference between running for a single result is that
// we want to perform a single most expensive test as the last test
// to accept the first one that passes the test.
// so here we're adding that final, most expensive test
LocalOption->Tests.Add(MostExpensiveFilter);
}
}