title: How to sort results when querying the NetSuite API?
body: <p>Through the NetSuite SuiteTalk, I am trying to retrieve the <code>SalesOrder</code> sorted against the <code>lastModified</code> field. I understand how to search with a <em>where</em> constraint (see below) but I can't figure out how to order the results.</p>
  
  <pre><code>    var searchInit = new Func&lt;SearchResult&gt;(() =&gt; 
           _client.search(new TransactionSearchBasic
      {
          type = new SearchEnumMultiSelectField
          {
              searchValue = new[] {"_salesOrder"},
              @operator = SearchEnumMultiSelectFieldOperator.anyOf,
              operatorSpecified = true,
          },
          lastModifiedDate = new SearchDateField
          {
              searchValue = sinceLastModified,
              searchValueSpecified = true,
              @operator = SearchDateFieldOperator.after,
              operatorSpecified = true,
          }
      }));
  </code></pre>
  
  <p>Any insights? Thanks!</p>