Make no-compile test output sorted with test name.

To make no-compile test deterministic, we also need to make the test
name shown in the same order.
Since I thought order of test names are not important, let me sort it
before printed.

Note that this change may make swarming to ignore executing tests even if
somebody edit *.nc.  However, I think the actual tests for non-compile
tests have already done in compile step and build would fail if test
failed, executing generated should not be needed for each *.nc update.

BUG=678903,105388

Review-Url: https://codereview.chromium.org/2655613002
Cr-Commit-Position: refs/heads/master@{#446018}
diff --git a/tools/nocompile_driver.py b/tools/nocompile_driver.py
index 5e5e739..598e4130 100755
--- a/tools/nocompile_driver.py
+++ b/tools/nocompile_driver.py
@@ -462,6 +462,7 @@
     finished_tests.extend(CompleteAtLeastOneTest(executing_tests))
   timings['compile_done'] = time.time()
 
+  finished_tests = sorted(finished_tests, key=lambda test: test['name'])
   for test in finished_tests:
     if test['name'] == 'NCTEST_SANITY':
       _, stderr = test['proc'].communicate()