Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column sorting should be done using stable sort implementation #11

Open
horenmar opened this issue Aug 21, 2022 · 0 comments
Open

Column sorting should be done using stable sort implementation #11

horenmar opened this issue Aug 21, 2022 · 0 comments

Comments

@horenmar
Copy link

Describe the bug
I cannot compose column sorting in SizeBench, because it uses unstable sorting for sorting by column.

What you are doing

  1. Open a binary for inspection
  2. Select "Start Exploring By Compilands"
  3. Sort results by specific column, e.g. Size on Disk
  4. Sort results by different column, e.g. Lib Name

Expected behavior
I want the rows to be sorted by Lib Name and within single lib, by their size on disk.

What actually happens is that I get rows sorted by Lib Name and otherwise jumbled, so I can't go after largest obj files in given lib, which is what I want to do.

Environment Details

  • OS: [type ver at the Windows Command Prompt]: [Version 10.0.19044.1889]
  • SizeBench version number [Go to Help > About SizeBench]: 2.2204.1800.0 (git commit b5c2b2ea)

Additional context
While my original use case is specifically grouping by lib, sort by size on disk, using stable sort when sorting by column will allow users to compose their own sorting orders arbitrarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant