@Override public void manipulateChildElements(List<HierarchyWrapper> children){
  for (int i=0; i < children.size(); i++) {
    HierarchyWrapper wrapperImpl=children.get(i);
    final Wrapper<Element> wrapper=wrapperImpl.getElementContent();
    if (wrapper != null && wrapper.isSortable()) {
      insertChildInSortedOrder(children,i,wrapperImpl,wrapper);
    }
  }
}

@ Override public void manipulateChildElements ( List < HierarchyWrapper > children ) { for ( int i = 0 ; i < children . size ( ) ; i ++ ) { HierarchyWrapper wrapperImpl = children . get ( i ) ; final Wrapper < Element > wrapper = wrapperImpl . getElementContent ( ) ; if ( wrapper != null && wrapper . isSortable ( ) ) { insertChildInSortedOrder ( children , i , wrapperImpl , wrapper ) ; } } }
sort all children of an element
