Write a datapage which sources the report definition of the data type records.
In the Data Transform define this datapage.
Sort the report with the DataTransform sort method with ID (in Ascending order) or you can also handle this at the report definition as well with the sort on the ID column.