https://programmers.co.kr/learn/courses/30/lessons/12917 def solution(s): s = sorted(sorted(s, reverse=True), key = lambda x: (ord(x)