System:Preferences:getSort
From Aspen Documentation
Returns a sort preference
Since 1.0
Arguments
array getSort (string $location, [string $field = false], [string $default = 'id'], [string $dir = 'ASC'])
- location
- A unique key that identifies this sort with a specific location - a table, query, etc.
- field
- Sort by field name.
- default
- Default field name to sort by if preference not set.
- dir
- Sort by direction (ASC / DESC)