Sort test results for comparison