nitc :: ScoreComparator :: defaultinit
# Compare two matches by their score
#
# Since the score can be seen as a distance, we want the lowest score first.
class ScoreComparator
super Comparator
redef type COMPARED: IndexMatch
redef fun compare(o1, o2) do return o1.score <=> o2.score
end
src/model/model_index.nit:551,1--560,3