[JENKINS-7866] - Fix failed tests displaying as Yellow on "History for Test Results" page.

The colours where added in a different order to the data, resulting in failed tests displying as yellow and skipped tests displaying as red.

(cherry picked from commit 7ef1d37730997a06386670c343782e55fe4c029f)