Also sort by number / creation date.
Also make the script executable & clarify some variable names.
The python script checks on reports based on the provided severity (default High) and sorts them per module. Thanks to Sybren for suggestions on how to improve it! Pull Request: https://projects.blender.org/blender/blender/pulls/120022