Per title, if I have a DataTable with columns for ID and Name, pre-sorted by name, and I issue a call such as
DataRow[] matchingRows = dataTable.Select("ID = " + filterID);
(i.e. without specifying a sort) will my array reliably come back in the table's order?
(And before you ask in comments have you tried it?, I'm not looking for unit-test results that consider every corner case in The Subdivision Escher Built, but documentation/proof that explains expected behavior, since MSFT attempts ain't gettin it done.)
If your DataTable has a PrimaryKey then Select will use its index even if your rows aren't sorted that way.
Here is a LinqPad example that demonstrates it.