protected function _prefixOrderProperty() {
		if (is_string($this->order)) {
			$this->order = $this->_prefixAlias($this->order);
		}
		if (is_array($this->order)) {
			foreach ($this->order as $key => $value) {
				if (is_numeric($key)) {
					$this->order[$key] = $this->_prefixAlias($value);
				} else {
					$newKey = $this->_prefixAlias($key);
					$this->order[$newKey] = $value;
					if ($newKey !== $key) {
						unset($this->order[$key]);
					}
				}
			}
		}
	}
protected function _prefixOrderProperty() {
		if (is_string($this->order)) {
			$this->order = $this->_prefixAlias($this->order);
		}
		if (is_array($this->order)) {
			foreach ($this->order as $key => $value) {
				if (is_numeric($key)) {
					$this->order[$key] = $this->_prefixAlias($value);
				} else {
					$newKey = $this->_prefixAlias($key);
					$this->order[$newKey] = $value;
					if ($newKey !== $key) {
						unset($this->order[$key]);
					}
				}
			}
		}
	}
protected function _prefixOrderProperty ( ) { if ( is_string ( $ this -> order ) ) { $ this -> order = $ this -> _prefixAlias ( $ this -> order ) ; } if ( is_array ( $ this -> order ) ) { foreach ( $ this -> order as $ key => $ value ) { if ( is_numeric ( $ key ) ) { $ this -> order [ $ key ] = $ this -> _prefixAlias ( $ value ) ; } else { $ newKey = $ this -> _prefixAlias ( $ key ) ; $ this -> order [ $ newKey ] = $ value ; if ( $ newKey !== $ key ) { unset ( $ this -> order [ $ key ] ) ; } } } } }
Prefixes the order property with the actual alias if its a string or array.

The core fails on using the proper prefix when building the query with two
different tables.

@return void
Prefixes the order property with the actual alias if its a string or array .