sortDangerResult method

void sortDangerResult(
  1. DangerResults results
)

Implementation

void sortDangerResult(DangerResults results) {
  results.fails.sort(_sortViolation);
  results.warnings.sort(_sortViolation);
  results.messages.sort(_sortViolation);
  results.markdowns.sort(_sortViolation);
}