src/bundles/Database/Query/Select.php
public function order_by( $cols, $order = 'asc' ) 
	{
		if ( !is_array( $cols ) ) 
		{
			$this->orders[] = array( $cols, $order ); return $this;
		}
		else
		{
			foreach( $cols as $key => $col ) 
			{
				if ( is_numeric( $key ) ) 
				{
					$this->orders[] = array( $col, $order );	
				} 
				else 
				{
					$this->orders[] = array( $key, $col );
				}
			}
		}
		
		return $this;
	}
public function order_by( $cols, $order = 'asc' ) 
	{
		if ( !is_array( $cols ) ) 
		{
			$this->orders[] = array( $cols, $order ); return $this;
		}
		else
		{
			foreach( $cols as $key => $col ) 
			{
				if ( is_numeric( $key ) ) 
				{
					$this->orders[] = array( $col, $order );	
				} 
				else 
				{
					$this->orders[] = array( $key, $col );
				}
			}
		}
		
		return $this;
	}
public function order_by ( $ cols , $ order = 'asc' ) { if ( ! is_array ( $ cols ) ) { $ this -> orders [ ] = array ( $ cols , $ order ) ; return $ this ; } else { foreach ( $ cols as $ key => $ col ) { if ( is_numeric ( $ key ) ) { $ this -> orders [ ] = array ( $ col , $ order ) ; } else { $ this -> orders [ ] = array ( $ key , $ col ) ; } } } return $ this ; }
Set the order parameters

@param mixed 	$cols
@param string	$order
@return self
Set the order parameters