We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dccd71b commit d3ac928Copy full SHA for d3ac928
src/util/apiUtil.ts
@@ -50,7 +50,12 @@ export async function processApiSpec(
50
const customDiagnostic = new RapLPDiagnostic(context);
51
customDiagnostic.processRuleExecutionInformation(result, enabledRulesAndCategorys.rules,enabledRulesAndCategorys.instanceCategoryMap);
52
const diagnosticReports: DiagnosticReport[] = customDiagnostic.processDiagnosticInformation();
53
- return { result, report: diagnosticReports };
+
54
+ const sortedReports: DiagnosticReport[] = diagnosticReports.map(report => ({
55
+ ...report,
56
+ regler: [...report.regler].sort((a, b) => a.id.localeCompare(b.id))
57
+ }));
58
+ return { result, report: sortedReports };
59
}
60
61
/**
0 commit comments