function solution(numbers) { const answer = numbers.map(c=> c + '').sort((a,b) => { return (b+a)-(a+b) }).join(''); return answer[0]==='0'? '0' : answer; } solution([3,30,34,5,9]);