Search backend: make filename order deterministic
Created by: camdencheek
Because we construct this list of filenames by iterating over a map, the list of filenames is nondeterministic. This is causing test failures when writing tests that depend on this behavior.
Test plan
Ran my in-progress tests after making this change and they no longer fail