void
Structures_DataGrid::sortRecordSet
(
array
$sortSpec
,
string
$direction = 'ASC'
)
Do not use this method if data is coming from a database as sorting is much faster coming directly from the database itself.
$sortSpec
Sorting specification Structure: array(fieldName => direction, ...)
$direction
Deprecated. Put the direction(s) into $sortSpec
throws no exceptions thrown
This function can not be called statically.