fix(gui): results in usage search should be sorted by name (PR #1363)

This commit is contained in:
cyqw
2022-02-07 23:39:57 +08:00
committed by GitHub
parent e229874195
commit 4bed9dc358
@@ -120,7 +120,7 @@ public class CodeNode extends JNode implements Comparable<CodeNode> {
}
public static final Comparator<CodeNode> COMPARATOR = Comparator
.comparing(CodeNode::getJParent)
.comparing(CodeNode::makeLongString)
.thenComparingInt(CodeNode::getPos);
@Override