Bug 181706 Sorting Data by X values doesn't work without grouping
Using the 2.2M5 designer , I simply want to sort the data of the X Series in a Line Chart. I go into the Sort and Group pop up in the chart wizard and select ascending, but it doesn't affect the result. (style ordered same as the result set) If i define a dummy grouping (no interval) it is then working.
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/internal/datafeed/DataProcessor.java
private List getBubbleSeriesGroupingList( Series series )
		{
			ArrayList list = new ArrayList( 1 );
			String sExpression = ( (Query) series.getDataDefinition( )
					.get( 1 ) ).getDefinition( );
			
			if ( sExpression != null && sExpression.trim( ).length( ) > 0 )
			{
				list.add( sExpression );
			}
			return list;
		}
		
		private List getGanttSeriesGroupingList( Series series )
		{
			ArrayList list = new ArrayList( 2 );
			EList elDD = series.getDataDefinition( );
			
			for ( int n = 0; n < elDD.size( ) && n < 2; n++ )
			{
				String sExpression = ( (Query) elDD.get( n ) ).getDefinition( );
				if ( sExpression != null && sExpression.trim( ).length( ) > 0 )
				{
					
					list.add( sExpression );
				}
			}
			return list;
		}