code: func NewScriptSort(script *Script, typ string) *ScriptSort {
  	return &ScriptSort{
  		script:    script,
  		typ:       typ,
  		ascending: true,
  	}
  }
docs: // NewScriptSort creates and initializes a new ScriptSort.
  // You must provide a script and a type, e.g. "string" or "number".