question: protected Object [ ] evaluateSortCriteria ( Object value ) { CompiledSortCriterion csc ; Object [ ] array = null ; if ( orderByAttrs != null ) { array = new Object [ orderByAttrs . size ( ) ] ; Iterator orderiter = orderByAttrs . iterator ( ) ; int i = 0 ; while ( orderiter . hasNext ( ) ) { csc = ( CompiledSortCriterion ) orderiter . next ( ) ; Object [ ] arr = new Object [ 2 ] ; arr [ 0 ] = csc . evaluate ( value , context ) ; arr [ 1 ] = Boolean . valueOf ( csc . getCriterion ( ) ) ; array [ i ++ ] = arr ; } } return array ; }
target:  Yogesh : This methods evaluates sort criteria and returns a ArrayList of Object[] arrays of evaluated criteria