
cts.fitnessOrder( [options as String[]] ) as cts.order
Creates a fitness-based ordering clause, for use as an option to
cts.search.
| Parameters | |
|---|---|
| options |
Options.
Options include:
|
Only one of "ascending" or "descending" may be specified in the options parameter. If neither "ascending" nor "descending" is specified, then the default is "ascending".
cts.fitnessOrder('descending');
// Returns the specified opaque cts.order object