private function getSearchQueryOrderBy($query, $orderBy)
	{
		foreach ($orderBy as $key => $value) {
			$query->orderBy($key, $value);
		}

		return $query;
	}
private function getSearchQueryOrderBy($query, $orderBy)
	{
		foreach ($orderBy as $key => $value) {
			$query->orderBy($key, $value);
		}

		return $query;
	}
private function getSearchQueryOrderBy ( $ query , $ orderBy ) { foreach ( $ orderBy as $ key => $ value ) { $ query -> orderBy ( $ key , $ value ) ; } return $ query ; }
Returns the given query after adding the given order by conditions.

@param \miBadger\Query\Query $query
@param array $orderBy
@return \miBadger\Query\Query the given query after adding the given order by conditions.
Returns the given query after adding the given order by conditions .