Fixed bug due to the addition of numbering.

- Minor changes made to adjust the use of numbering in the datatable.
- Added a default sort column for the datatable.