Click or drag to resize

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
Syntax
public static void SortRecordsByField(
	Object[] records,
	string fieldName,
	bool ascending
)

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