Sort diagnostics in our baseline output.

This was we don't get noisy baselines just because a different phase of the compiler reported
the diagnostic.

This helps with Yui's refactoring work to move grammar checks into the type checker.
Merge pull request #1518 from Microsoft/sortCompilerBaselineDiagnostics

Sort diagnostics in our baseline output.