public function orderBy($field, $dir = 'ASC')
    {
        if (!$this->oosql_multiFlag) {
            $this->oosql_order = ' ORDER BY ' . $field . ' ' . $dir;
        }
        return $this;
    }
public function orderBy($field, $dir = 'ASC')
    {
        if (!$this->oosql_multiFlag) {
            $this->oosql_order = ' ORDER BY ' . $field . ' ' . $dir;
        }
        return $this;
    }
public function orderBy ( $ field , $ dir = 'ASC' ) { if ( ! $ this -> oosql_multiFlag ) { $ this -> oosql_order = ' ORDER BY ' . $ field . ' ' . $ dir ; } return $ this ; }
Creates an ORDER BY clause
@param string $field Field name
@param string        DESC|ASC
@return \Phiber\oosql\oosql
Creates an ORDER BY clause