Task: Sort a Ruby Hash by Numeric Value
Task: Sort a Ruby Hash by Numeric Value: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Ruby script that correctly sorts a hash by its numeric values in descending order (highest to lowest).
The task
You need to write a Ruby script that correctly sorts a hash by its numeric values in descending order (highest to lowest).
Part of PrimeIntellect/Terminal-Lego-15k.