Get(SortState)
Purpose 
Returns a value representing the current sort state.
Format 
Get(SortState)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Returns:
 •
0 if the records in the active table are not sorted
 •
1 if the records in the active table are sorted
 •
2 if the records in the active table are partially sorted (semi-sorted)
Each window has its own sort state.
Notes
 •
 •
If you specify the context for the current calculation, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window.
 •
Examples 
Returns 1 when the records in the active table are sorted.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas