Bug 207564 Column sorting based on data type
Only string sorting happens when a column is selected in preview result page of DataSet Editor irrespective of type of data shown in that column. I'd like to be able to sort the data based on its datatype when a column is selected.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataSetProvider.java
/**
	 * populate all output columns in viewer display. The output columns is
	 * retrieved from oda dataset handles's RESULT_SET_PROP and
	 * COMPUTED_COLUMNS_PROP.
	 * 
	 * @throws BirtException
	 */
	public DataSetViewData[] populateAllOutputColumns(
			DataSetHandle dataSetHandle, DataRequestSession session ) throws BirtException
	{
		IResultMetaData metaData = session.getDataSetMetaData( dataSetHandle,
				false );
		DataSetViewData[] items = new DataSetViewData[metaData.getColumnCount( )];
		for ( int i = 0; i < metaData.getColumnCount( ); i++ )
		{
			items[i] = new DataSetViewData( );
			items[i].setName( metaData.getColumnName( i + 1 ) );
			items[i].setDataTypeName( metaData.getColumnTypeName( i + 1 ) );
			items[i].setAlias( metaData.getColumnAlias( i + 1 ) );
			items[i].setComputedColumn( metaData.isComputedColumn( i + 1 ) );
			items[i].setPosition( i + 1 );
			items[i].setDataType( metaData.getColumnType( i + 1 ) );
		}
		updateModel( dataSetHandle, items );
		return items;
	}
	
	/**
	 * get Cached metadata