joxeankoret / diaphora

Diaphora, the most advanced Free and Open Source program diffing tool.
http://diaphora.re
GNU Affero General Public License v3.0
3.58k stars 371 forks source link

Numeric columns aren't sorted numerically #233

Closed wdormann closed 1 year ago

wdormann commented 2 years ago

When you diff two binaries, one of the columns is called "BBlocks1", which has integer values. If you sort this column, you'll end up with orders like:

12 125 13 14 140 15

Ideally, columns of this type would be sorted numerically instead.

joxeankoret commented 2 years ago

That's the problem with choosers and IDA Python: we don't have that option. Sorting is by text always. What I can do is like what I did with the number column: append zeros.

joxeankoret commented 1 year ago

I'm closing it for now as there is no way, or I don't know any, to fix this with IDA for now.