I have a VB.NET DLL which creates an ADO.NET Dataset by executing some SQL which includes an "ORDER BY" clause to ensure data is in the correct sequence. When I look through the Dataset.Tables(0) collection, I can see that the data is indeed sorted correctly. When I use this dataset as the DataSource of a Crystal Report, however, the data is displayed in the incorrect sequence. It appears to be in the same sequence I get the data if I omit the "ORDER BY" clause. The crystal report itself does not have any sorting built in.
What can I do to get the report correctly sorted?
What can I do to get the report correctly sorted?