I have the following object in the qualification and I am not getting any indication of the key. I need to sort by value.
I did so:
let keysSorted = Object.values (arrCambo) .sort (function (a, b) {return arrCambo [a] -arrCambo [b]}); let sorted = keysSorted.sort ();
Generally, return is an array in which I lose the original values of the object I need!