Is there a way to combine two JSON objects with numerical string keys and arrange them in ascending order?
let obj1 = {
'10' : "ten"
'2' : "two",
"30": "thirty
}
let obj2 = {
'4' : "four",
'5' : "five",
"1": "one"
}
// Desired output:
let res = {
"1": "one",
'2' : "two",
'4' : "four",
'5' : "five",
'10' : "ten"
"30": "thirty
}