I use the Kohana ORH library, and I wonder if there is a way to order the results.
Example:
$priorities = ORM::factory('priority')->select_list('id','label'); //how to order these?
What is select_list?
select_list
Btw, ordering in kohan is performed by the method order_by()
order_by()
...->order_by('field', 'asc')
You can find more samples at: http://kerkness.ca/kowiki/doku.php?id=building_complex_select_statements#order_by
This wiki also contains many useful articles about Kohan: http://kerkness.ca/kowiki/doku.php