This is the hashmap I have
{
"LY": 43,
"US": 19,
"IN": 395,
"IR": 32,
"EG": 12,
"SA": 17,
}
How can I sort in descending order, with respect to the key values using javascript/lodash?
The expected output is:
{
"IN": 395,
"LY": 43,
"IR":32,
"US":19,
"SA":17,
"EG":12
}