Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

search.Sort

search.Sort.{|ASC,DESC,NONE|}

N/search Module
search.Sort
Enum Description: Enumeration that holds the values for supported sorting directions used with search.createColumn(options). JavaScript does not include an enumeration type. The SuiteScript 2.0 documentation utilizes the term enumeration (or enum) to describe the following: a plain JavaScript object with a flat, map-like structure. Within this object, each key points to a read-only string value.
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/search Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=search.Sort

Example:

// Code Example 1
//Add additional code
//...
var currencyColumn = search.createColumn({
name: 'currency',
sort: search.Sort.ASC
});
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4486581209.html