I have an array, each of whose elements is a hash with three key/value pairs:
:phone => "2130001111", :zip => "12345", :city => "sometown"
I'd like to sort the data by zip
so all the phone
s in the same area are together. Does Ruby have an easy way to do that? Can will_paginate
paginate data in an array?