Suppose i have an object obj1= {key1:[1,2,3],key2:[333,11],key3:[9938,33,0,39,2]}
How to sort this by length of value array. I tried using Lodash method but that didnt worked.
Required output
obj1= {key3:[9938,33,0,39,2],key1:[1,2,3],key2:[333,11]}