Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36731

Sorting results by column should be stable

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          marcosteffan Marco Steffan added a comment -
          Show
          marcosteffan 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!

            People

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

              Dates

              • Created:
                Updated: