const Object_A = { "1": { text: "객체", }, "2": { text: "역순", }, }; const arr = Object.keys(Object_A).sort(function (a, b) { return b - a; }); // arr=["2","1"] arr.map((key) => console.log(Object_A[key].text)); // 역순개체