@ Override protected List < Resource > prepareTreeItems ( ResourceHandle resource , List < Resource > items ) { if ( ! nodesConfig . getOrderableNodesFilter ( ) . accept ( resource ) ) { Collections . sort ( items , new Comparator < Resource > ( ) { @ Override public int compare ( Resource r1 , Resource r2 ) { return getSortName ( r1 ) . compareTo ( getSortName ( r2 ) ) ; } } ) ; } return items ; }
sort children of orderable nodes