[llvm-cov] Use a stable sort on sub-views
[llvm-cov] Use a stable sort on sub-views

We need to use a stable sort on instantiation and expansion sub-views to
produce consistent output. Fortunately, we've gotten lucky and the tests
have checks for the stable order.

This is needed to unblock D39245. Once that lands, we'll have better
test coverage for sort non-determinism.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@316490 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 7e8095025bc064c655a20778e75d0d6ad788bd68)

apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm