Bug 189575 The 2 APIs don't work.
ICubeQueryUtil.getMemberValueIterator( TabularCubeHandle cubeHandle, String dataBindingExpr, ICubeQueryDefinition queryDefn ) ICubeQueryUtil.getMemberValueIterator( TabularCubeHandle cubeHandle, String targetLevel, ILevelDefinition[] higherLevelDefns, Object[] values ) The 2 APIs don't work. Please verify and correct them, or Crosstab sort and filter may throw runtime exception. Thanks.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/sort/AggregationSortHelper.java
SortKey[] sortKeys )
	{
		SortKey[] sks = new SortKey[base.getLevelCount( )];
		for ( int i = 0; i < sks.length; i++ )
		{
			for ( int j = 0; j < sortKeys.length; j++ )
			{
				int levelIndexInBase = base.getLevelIndex( sortKeys[j].getLevel( ) );
				if ( i == levelIndexInBase )
					sks[i] = sortKeys[j];
				if ( i < levelIndexInBase )
					break;
			}
		}
		
		populateEmptySortKey( base, sks );
		
		return createNewSortKeys( base, sks );
	}
	private static List createNewSortKeys( IAggregationResultSet base, SortKey[] sks )
	{
		List newSortKeys = new ArrayList();
		int offset = 0;
		for ( int i = 0; i < sks.length; i++ )
		{
			DimLevel level = sks[i].getTargetResultSet( )
					.getLevel( sks[i].getLevelKeyIndex( ) );
			int levelKeyIndex = base.getLevelIndex( level );
			int[] aggrKeyIndex = new int[sks[i].getAggrKeys( ).length];
			for ( int j = 0; j < sks[i].getAggrKeys( ).length; j++ )