Skip to content

Commit

Permalink
Merge pull request #27 from SmileyAG/sort-similarity-in-ascending-order
Browse files Browse the repository at this point in the history
Sort results in ascending order of similarity
  • Loading branch information
ubfx authored Sep 14, 2024
2 parents 224683c + 764f0e3 commit 0f8166e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/bindiffhelper/BinDiffHelperProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ protected void doDiffWork() {

ResultSet rs = stmt.executeQuery("SELECT address1, address2, similarity, confidence, name "
+ "FROM function JOIN functionalgorithm ON function.algorithm=functionalgorithm.id "
+ "ORDER BY similarity DESC");
+ "ORDER BY similarity ASC");

while (rs.next()) {

Expand Down

0 comments on commit 0f8166e

Please sign in to comment.