Topic: ways to sort data
Does anybody know how to sort data just from the controller, something like code below? I just don't know what the values can be for order. I want it alphabetical, but it would be nice to have a list of different ways to do it.
@sites = Site.find(:all, :order => 'something')