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 aggregationExpsList = new ArrayList( 3 );
		private List querysList = new ArrayList( 3 );
		
		private List baseQueryList = new ArrayList( 3 );
		public void addAggregation( String exp, List querys )
		{
			for ( int i = 0; i < querys.size( ); i++ )
			{
				aggregationExpsList.add( exp );
				querysList.add( querys.get( i ) );
			}
		}
		public String[] getAggregations( )
		{
			return (String[]) aggregationExpsList.toArray( new String[aggregationExpsList.size( )] );
		}
		public String[] getDataDefinitions( )
		{
			return (String[]) querysList.toArray( new String[querysList.size( )] );
		}
		
		public List getDataDefinitionsForBaseGrouping()
		{
			return  baseQueryList;
		}
		
		public void dispose( )
		{
			aggregationExpsList.clear( );
			querysList.clear( );