Method to return string in lexicographic order followed by integers sum
function arrangeString ( str ) { let char_count = new Array ( MAX_CHAR ) ; for ( let i = 0 ; i < MAX_CHAR ; i ++ ) { char_count [ i ] = 0 ; } let sum = 0 ;