This seems like a really simple question but I haven\'t seen it answered anywhere.
In rails if you have:
class Article < ActiveRecord::Base has
You can use ActiveRecord's find method to get your objects and sort them too.
@article.comments.find(:all, :order => "created_at DESC")
http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html