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
int count = 0;
			final int MAX_ROW_COUNT = ChartUtil.getSupportedMaxRowCount( );
			do
			{
				if ( count++ > MAX_ROW_COUNT )
				{
					throw new ChartException( ChartEnginePlugin.ID,
							ChartException.DATA_BINDING,
							"exception.data.max.row.count", 
							new Object[]{
								new Integer( MAX_ROW_COUNT )
							},
							Messages.getResourceBundle( ) );
				}
				
				oaTuple = new Object[iColumnCount];
				it = co.iterator( );
				iColumnIndex = 0;
				while ( it.hasNext( ) )
				{
					oaTuple[iColumnIndex++] = idre.evaluate( (String) it.next( ) );
				}
				liResultSet.add( oaTuple );
			} while ( idre.next( ) );
		}
		
		
		
		final GroupKey[] groupKeys = findGroupKeys( cm, lhmLookup );