public function sort(array $query, $key, $label, $url = null) 
	{
		Argument::i()
			->test(2, 'string')
			->test(3, 'string')
			->test(4, 'string', 'null');
			
		$block = Sort::i($query, $key, $label);
		
		if($url) {
			$block->setUrl($url);
		}
		
		return $block;
	}
public function sort(array $query, $key, $label, $url = null) 
	{
		Argument::i()
			->test(2, 'string')
			->test(3, 'string')
			->test(4, 'string', 'null');
			
		$block = Sort::i($query, $key, $label);
		
		if($url) {
			$block->setUrl($url);
		}
		
		return $block;
	}
public function sort ( array $ query , $ key , $ label , $ url = null ) { Argument :: i ( ) -> test ( 2 , 'string' ) -> test ( 3 , 'string' ) -> test ( 4 , 'string' , 'null' ) ; $ block = Sort :: i ( $ query , $ key , $ label ) ; if ( $ url ) { $ block -> setUrl ( $ url ) ; } return $ block ; }
Returns table sort block

@param array
@param string
@param string
@param string|null
@return Eden\Block\Sort
Returns table sort block