@SuppressWarnings("unchecked")
    @Override
    public int compare(final ElementNode o1, final ElementNode o2) {
      return myDelegate.compare((T) o1.getDelegate(), (T) o2.getDelegate());
    }
@SuppressWarnings("unchecked")
    @Override
    public int compare(final ElementNode o1, final ElementNode o2)