@Override
  public int compareTo(@NotNull MatchResult that) {
    int result = compareDegrees(that);
    return result != 0 ? result : elementName.compareToIgnoreCase(that.elementName);
  }
@Override
  public int compareTo(@NotNull MatchResult that)