only sorting wildcarded testcases