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/ReportEngineService.java
/**
	 * Constructor.
	 * 
	 * @param config
	 */
	public ReportEngineService( ServletConfig servletConfig )
	{
		System.setProperty( "RUN_UNDER_ECLIPSE", "false" ); 
		if ( servletConfig == null )
		{
			return;
		}
		config = new EngineConfig( );
		
		HTMLEmitterConfig emitterConfig = new HTMLEmitterConfig( );
		emitterConfig.setActionHandler( new HTMLActionHandler( ) );
		imageHandler = new HTMLServerImageHandler( );
		emitterConfig.setImageHandler( imageHandler );
		config.getEmitterConfigs( ).put( "html", emitterConfig ); 
		
		String resourcePath = servletConfig.getServletContext( )
				.getInitParameter(
						ParameterAccessor.INIT_PARAM_BIRT_RESOURCE_PATH );
		if ( resourcePath == null || resourcePath.trim( ).length( ) <= 0
				|| ParameterAccessor.isRelativePath( resourcePath ) )
		{
			resourcePath = servletConfig.getServletContext( ).getRealPath(
					"/resource" ); 
		}
		File resourceFile = new File( resourcePath );