new Sort(field, sort)
Create a new Sort
Parameters:
Name | Type | Description |
---|---|---|
field |
string | a field name from filemaker |
sort |
string | a sort order (ascend, descend or value list name) |
Methods
-
toObj()
-
Return the sort object
Returns:
- an obj with fieldName and sortOrder keys
- Type
- Object
-
toString()
-
Return a stringified sort object
Returns:
- a stringified sort object
- Type
- Object