Sort reports by line and column
Description of changes
The reports have been incorrectly sorted. This fixes the sorting order to use the line number and then column. It also adds a test to verify that the sorting algorithm works.
Related to: #196 (closed)