I have some data which looks like:
({a:10, b:5, c:2, d:4})
.
How to sort these data by values and return the key? so we could obtain the output: c , d, b, a.
I have some data which looks like:
({a:10, b:5, c:2, d:4})
.
How to sort these data by values and return the key? so we could obtain the output: c , d, b, a.