@Override
  public int compareTo(Object o) {
    if (!(o instanceof DItemElement otherProperty)) return 0;

    return getName().compareTo(otherProperty.getName()) + getType().compareTo(otherProperty.getType());
  }
@Override
  public int compareTo(Object o)