fixed sort order on test case output