#Sorting a Hash I wanted to understand what happened under the hood when something like
hash.sort { |a, b| b[1] <=> a[1] }
is called.
If you can't answer, you might want to read.
I'll be as basic as possible (I don't know much anyway...) so it should be understandable.
First let's begin by saying that we will be working on this hash