src/Neevo/Parser.php
protected function parseSorting(){
		$order = array();
		foreach($this->stmt->getSorting() as $rule){
			list($field, $type) = $rule;
			$order[] = $this->tryDelimite($field) . ($type !== null ? ' ' . $type : '');
		}
		return "\nORDER BY " . implode(', ', $order);
	}
protected function parseSorting(){
		$order = array();
		foreach($this->stmt->getSorting() as $rule){
			list($field, $type) = $rule;
			$order[] = $this->tryDelimite($field) . ($type !== null ? ' ' . $type : '');
		}
		return "\nORDER BY " . implode(', ', $order);
	}
protected function parseSorting ( ) { $ order = array ( ) ; foreach ( $ this -> stmt -> getSorting ( ) as $ rule ) { list ( $ field , $ type ) = $ rule ; $ order [ ] = $ this -> tryDelimite ( $ field ) . ( $ type !== null ? ' ' . $ type : '' ) ; } return "\nORDER BY " . implode ( ', ' , $ order ) ; }
Parses ORDER BY clause.
@return string
Parses ORDER BY clause .