I need something like this:
$products = Products::getTable()->find(274); foreach ($products->Categories->orderBy(\'title\') as $category
You can also do:
$this->hasMany('Category as Categories', array(... 'orderBy' => 'title ASC'));
In your schema file it looks like:
Relations: Categories: class: Category .... orderBy: title ASC