문제 https://school.programmers.co.kr/learn/courses/30/lessons/17686 예시 코드 function solution(filenames) { const parsedFilenames = filenames.map(parseFilename); parsedFilenames.sort((a, b) => { if (a.head b.head) return 1; return a.number - b.number; }); return parsedFilenames.map((file) => file.name); } function parseFilename(filename) { const regex = /^([^\d]+)(\..