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
private static DataSetProvider newInstance( )
	{
		return new DataSetProvider( );
	}
	/**
	 * 
	 * @return
	 */
	public static DataSetProvider getCurrentInstance( )
	{
		if ( instance == null )
			instance = newInstance( );
		return instance;
	}
	/**
	 * get columns data by data set name
	 * @param dataSetName
	 * @param refresh
	 * @return
	 */
	public DataSetViewData[] getColumns( String dataSetName, boolean refresh )
	{
		ModuleHandle handle = Utility.getReportModuleHandle( );
		DataSetHandle dataSet = handle.findDataSet( dataSetName );
		if ( dataSet == null )
		{
			return new DataSetViewData[]{};
		}
		return getColumns( dataSet, refresh );
	}