diff --git a/src/main/java/com/endava/cats/report/TestCaseExporterHtmlJs.java b/src/main/java/com/endava/cats/report/TestCaseExporterHtmlJs.java index 1ba8f5beb..8f7d1c1b3 100644 --- a/src/main/java/com/endava/cats/report/TestCaseExporterHtmlJs.java +++ b/src/main/java/com/endava/cats/report/TestCaseExporterHtmlJs.java @@ -24,7 +24,11 @@ public String[] getSpecificHelperFiles() { @Override public Map getSpecificContext(CatsTestReport report) { Map context = new HashMap<>(); - List fuzzers = report.getTestCases().stream().map(CatsTestCaseSummary::getFuzzer).distinct().collect(Collectors.toList()); + List fuzzers = report.getTestCases().stream() + .map(CatsTestCaseSummary::getFuzzer) + .distinct().sorted() + .collect(Collectors.toList()); + context.put("FUZZERS", fuzzers); context.put("JS", true); return context;