Sections
sort_by
1 thread tagged with this topic
Threads tagged sort_by
- •
How do I sort an array of hashes by a value in Ruby?
Still on my client app. I have a list of orders as an array of hashes and the client wants them shown from the biggest total to the smallest. In irb:
2replies