Hello, I am just trying to do a findAll with a sort. I just want to sort by the primary key (id) ASC, since for some reason it is not sorted in the database. Any help is appreciated, thanks.
Subsections::model()->findAll(array('criteria'=>array('order'='id')) //doesn't work, I can't find any examples of this...no idea what the syntax is