zendframework/zf2 — pull request #1022 by akrabat (2012-04-07 09:36:40+00:00)
Title: Support order() in Zend\Db\Sql\Select.

Supports:

* `$select->order('id ASC, name DESC');`
* `$select->order(array('id ASC', 'name DESC'));`
* `$select->order(new Expression('CASE "foo" WHEN ? THEN name ELSE id END', array('bar')));`