code: public static void doSetIgnoreCaseRecursively(ComparatorItem comparatorItem, boolean ignoreCase) {
      ComparatorItem tmp = comparatorItem;
      while (tmp != null) {
        tmp.setIgnoreCase(ignoreCase);
        tmp = tmp.getNextComparatorItem();
      }
    }
docs: Sets whether the sort is case sensitive or not to all items.
  
  @param comparatorItem the (root) item
  @param ignoreCase     {@code true} if the sort is case sensitive, otherwise {@code false}