setParameterBindings( dataEngine, dataSetDesignName, isLeftDataSet, queryDefinition );
	private ResultIterator getSortedResultIterator( DataEngineImpl dataEngine,			String dataSetDesignName, Map appContext, List joinConditions,			boolean isLeftDataSet ) throws DataException	{		QueryDefinition queryDefinition = new QueryDefinition( );		queryDefinition.setDataSetName( dataSetDesignName );		IPreparedQuery preparedQuery;		try		{			preparedQuery = PreparedQueryUtil.newInstance( dataEngine,					queryDefinition,					appContext );			for ( int i = 0; i < joinConditions.size( ); i++ )			{				addSortToPreparedQuery( (IJoinCondition) joinConditions.get( i ),						isLeftDataSet,						preparedQuery );			}			IResultIterator ri = preparedQuery.execute( null )					.getResultIterator( );			assert ri instanceof ResultIterator;			return (ResultIterator) ri;		}		catch ( BirtException e )		{			throw DataException.wrap(e);		}	}