• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cppcheck-plugin
    • None

      If I sort first by line, then by file, I should see all the results ordered by file first and line number second.

      Currently, the sorting isn't stable, so I can either sort by line number (useless across files), or I can sort by file with the line results in some random order by line number.

      A stable sort would make the table much more useful when there are many results as is the case when you first begin running cppcheck on a large code base.

          [JENKINS-36731] Sorting results by column should be stable

          Marco Steffan added a comment -

          Marco Steffan added a comment - Pushed a branch to https://github.com/jenkinsci/cppcheck-plugin/compare/jenkins-36731_sorting_columns_should_be_stable feel free to test and comment on!

            marcosteffan Marco Steffan
            legalize Richard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: