Bug 138828 Export data column are disordered
Steps to reproduce: 1.Add a sample data source and a data set with table "CUSTOMERS" 2.Preview in Web Viewer 3.Click "Export data", choose columns "CUSTOMERNAME","PHONE","CITY","STATE" to be exported, click "OK" Expected result: The exported columns is alphabetic order or the same order as selected columns Actual result: The exported columns is disordered. they are "STATE","CITY","CUSTOMERNAME","PHONE".
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
String outputDocName, InputOptions runOptions, Map parameters )
			throws ReportServiceException
	{
		IReportRunnable runnable;
		String reportDesignName = design.getFileName( );
		HttpServletRequest request = (HttpServletRequest) runOptions
				.getOption( InputOptions.OPT_REQUEST );
		Locale locale = (Locale) runOptions.getOption( InputOptions.OPT_LOCALE );
		try
		{
			runnable = ReportEngineService.getInstance( ).openReportDesign(
					reportDesignName );
		}
		catch ( EngineException e )
		{
			throw new ReportServiceException( e.getLocalizedMessage( ) );
		}
		Map parsedParams = getParsedParameters( design, runOptions, parameters );
		try
		{
			ReportEngineService.getInstance( ).runReport( request, runnable,
					outputDocName, locale, (HashMap) parsedParams );
		}
		catch ( RemoteException e )
		{
			e.printStackTrace( );
			throw new ReportServiceException( e.getLocalizedMessage( ) );
		}
		return outputDocName;
	}