Parameter is a space separated list of field names to have the display table sorted by when displaying search results in the Admin interface.
Description:
In the Admin interface, sets the default sort when browsing the table and in global search results.
A -
symbol may be used to reverse the sort order of a field.
The use of #
prefix, as used in the Work Query Sort command, is not applicable, as sorting by text vs. numeric values is controlled by each field's attributes. If the field contains any of the following attributes, it will be sorted numerically, regardless of the use of SearchSort: [#], [_#], [$], [_$], [&], [+]
.
As with all Attributes that do not apply to a particular Field, but instead the entire record, the SearchSort Attribute should be placed in the Alias Field's Attribute list.
Note that the user's sort choice is saved as a browser session cookie and overrides this setting. When visiting a table for the first time, this will be used as the default; however, if the user changes the sort order, it will be remembered until the browser is restarted or the cookies are cleared.
Example:
[SearchSort] Age -DollarsInBank