in my rails app I\'m creating an array like so:
@messages.each do |message| @list << { :id => message.id, :title => message.title, :ti
You could do:
@list.sort {|a, b| a[:time_ago] <=> b[:time_ago]}