public function setOrder($attribute, $dir = self::SORT_ORDER_DESC) { $this->_orders[$attribute] = $dir; return $this; }