Report build test failures in a meaningful order
Report build test failures in a meaningful order

Summary:
Fixes T71228
Probably should be done in the UI, but this API call exists to serve the UI and the
Python code is aware of all the possible result types, so it has a bit of a knowledge advantage.

Test Plan: Manual

Reviewers: gregprice

Reviewed By: gregprice

Subscribers: changesbot

Maniphest Tasks: T71228

Differential Revision: https://tails.corp.dropbox.com/D157140

dropbox/changes,dropbox/changes,dropbox/changes,dropbox/changes