/** * Add ORDER BY to query * * @param string $sColumn * @param mixed $mType * @return Core_Model - self instance */ public function orderby($sColumn, $mType = 0) { $this->aQueryParams[] = array(Database_Query::C_ORDERBY, array($sColumn, Database_Query::parseSort($mType))); return $this; }