const list = { "a" : "hello" , "c" : "hahaha" , "b" : "royworld" } console.log(JSON.stringify(list)); // result : {"a":"hello","c":"hahaha","b":"royworld"} const ordered = {}; Object.keys(list).sort().map(key => { ordered[key] = list[key]; }); console.log(JSON.stringify(ordered)); // result : {"a":"hello","b":"royworld","c":"hahaha"} JSON.stringify : json으로 된 객체(ex. list)를 string (문자열) 형태로 변환 Ob..