[devtools] Make coverage export deterministic

This CL sorts coverage information before exporting it, and ensures that
the order in which coverage information is obtained from the back-end
does not influence the output order of exporting the coverage.

Bug: chromium:1000155
Change-Id: I8712a93a8326baaaff74edf099f9bee0225b32d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1794642
Reviewed-by: Andrey Kosyakov <[email protected]>
Commit-Queue: Sigurd Schneider <[email protected]>
Cr-Commit-Position: refs/heads/master@{#696305}
2 files changed