public void sortSubTerms ( ) { final int subTermNum = subTerms . size ( ) ; if ( subTerms != null && subTermNum > 0 ) { Collections . sort ( subTerms ) ; for ( final IndexTerm subTerm : subTerms ) { subTerm . sortSubTerms ( ) ; } } }
Sort all the subterms iteratively .