in reply to Sorting a hash in one line

Don't try to write things in one line until you first understand what you are doing in long form.