question: public static String convertBooleanArrToString ( Boolean [ ] noDictionaryDimsMapping ) { StringBuilder builder = new StringBuilder ( ) ; int index = 0 ; for ( ; index < noDictionaryDimsMapping . length ; index ++ ) { builder . append ( noDictionaryDimsMapping [ index ] ) ; builder . append ( CarbonCommonConstants . COMA_SPC_CHARACTER ) ; } int lastIndex = builder . lastIndexOf ( CarbonCommonConstants . COMA_SPC_CHARACTER ) ; String str = - 1 != lastIndex ? builder . substring ( 0 , lastIndex ) : builder . toString ( ) ; return str ; }
target:  This method will convert boolean [] to String with comma separated. This needs to be done as sort step meta only supports string types.