Sort warnings by fingerprint for more consistency between reports.

This sorting method leads to a more stable ordering of the JSON report.  This is useful when the JSON report is checked into version control.