code: public SearchContactsRequest withSortCriteria(Sort... sortCriteria) {
          if (this.sortCriteria == null) {
              setSortCriteria(new java.util.ArrayList<Sort>(sortCriteria.length));
          }
          for (Sort ele : sortCriteria) {
              this.sortCriteria.add(ele);
          }
          return this;
      }
docs: <p>
  The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName,
  FirstName, and LastName.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSortCriteria(java.util.Collection)} or {@link #withSortCriteria(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param sortCriteria
  The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName,
  FirstName, and LastName.
  @return Returns a reference to this object so that method calls can be chained together.