private void setSortComparator(Comparator<? super ElementNode> sortComparator) {
    if (myComparator.equals(sortComparator)) return;
    myComparator = sortComparator;
    doSort();
  }
private void setSortComparator(Comparator<? super ElementNode> sortComparator)