sortResults

open fun sortResults(report: SarifReport)

Orders every results array in report by CANONICAL.


open fun sortResults(report: SarifReport, order: Comparator<Result>)

Orders every results array in report — the results of each run and of each inline external property file — by order, which must not be null; use sortResults for the canonical one. Writing never reorders anything, so call this first if the order matters.