Why do you care about the order of rows in the table? Why not just use the DataView as the data source for your tree view; the rows are coming out in order.
Tables are not suposedto be sortd/have order imposed/relied upon. If you want rows out in a certain order, pull them out of the view, because the view;s job is to perform the ordering
In MVC concept, table is the M and, not the V (view is the V) so by trying to get an M to behave as a V youre using the wrong tool for the job
|