sort finished, search finished