lib/custom/src/MW/Common/Criteria/Lucene.php
public function getSortationString( array $types, array $translations = array() )
	{
		$sortation = '';

		foreach( $this->_sortations as $sortitem )
		{
			if( ( $string = $sortitem->toString( $types, $translations ) ) !== '' ) {
				$sortation .= $string;
			}
		}

		return $sortation;
	}
public function getSortationString( array $types, array $translations = array() )
	{
		$sortation = '';

		foreach( $this->_sortations as $sortitem )
		{
			if( ( $string = $sortitem->toString( $types, $translations ) ) !== '' ) {
				$sortation .= $string;
			}
		}

		return $sortation;
	}
public function getSortationString ( array $ types , array $ translations = array ( ) ) { $ sortation = '' ; foreach ( $ this -> _sortations as $ sortitem ) { if ( ( $ string = $ sortitem -> toString ( $ types , $ translations ) ) !== '' ) { $ sortation .= $ string ; } } return $ sortation ; }
Returns the string for sorting the result

@param array $names List of item names
@param array $translations Associative list of item names that should be translated
@return string Order string for sorting the items
Returns the string for sorting the result