test_result: sort test results lines

We want to have FAILED test results before PASSED, to easily see the
failed tests.
Apparently this was a local change on nexedi ERP5 for some time but the
change got lost in last update. Let's commit it to make this
permanent.
1 job for feat/test_result_list_sort_order
in 0 seconds, using 0 compute credits, and was queued for 0 seconds