Task: Sort an Array of Hashes in Ruby
Task: Sort an Array of Hashes in Ruby: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Ruby script that sorts an array of hashes by a specific key. This is a common data manipulation task when working with structured data in Ruby.
The task
You need to write a Ruby script that sorts an array of hashes by a specific key. This is a common data manipulation task when working with structured data in Ruby.
Part of PrimeIntellect/Terminal-Lego-15k.