Let say I have an object with numbers as key and string as value
var obj = {
'24': 'Sean',
'17': 'Mary',
'88': 'Andrew',
'46': 'Kelvin'
}
Is there an easy way to sort the keys into an array based on their value where the result will looks like this:
[88,46,17,24]