This is now `SearchResults.prototype._getSortedFiles`. Instead of sorting the files, show results, request the sorted list from this function. It makes the code a bit cleaner, but the results files are sorted every time the results are displayed.