CommonEngineSortRecordsByField Method (Object, String, Boolean) |
Sort the Record Array using the field name provided. (for
advanced sorting use SortRecords)
Namespace:
FileHelpers
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntaxpublic static void SortRecordsByField(
Object[] records,
string fieldName,
bool ascending
)
Public Shared Sub SortRecordsByField (
records As Object(),
fieldName As String,
ascending As Boolean
)
Parameters
- records
- Type: SystemObject
The records Array. - fieldName
- Type: SystemString
The field name. - ascending
- Type: SystemBoolean
The direction of the sort. True means Ascending.
See Also