Task: Sort an Associative Array by Values in JavaScript
Task: Sort an Associative Array by Values in JavaScript: a task in Terminal-Lego-15k (Harbor dataset). In JavaScript, you need to sort an associative array (object) by its values in descending order and return the keys in the sorted order.
The task
In JavaScript, you need to sort an associative array (object) by its values in descending order and return the keys in the sorted order.
Part of PrimeIntellect/Terminal-Lego-15k.