set test cases in rank order