function solution8(s) { return s .split("") .sort((a, b) => b.charCodeAt() - a.charCodeAt()) .join(""); } console.log(solution8("Zbcdefg"));