Unsort Records
Purpose 
Restores the records in the current found set to their creation order (the order in which they were entered in the file).
Format 
Unsort Records
Options 
None.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
Instant Web Publishing 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Use this script step when it's important to maintain the original creation order, as with invoices entered by invoice number or membership records entered by date.
Notes
 •
 •
You can place a Go To Object script step before the Sort Records by Field script step to ensure Sort Records by Field acts upon the correct table occurrence.
Examples 
Sort Records [Restore; No dialog]
Go to Layout ["Sales Summary"]
Enter Preview Mode [Pause]
Go to Layout [original layout]
Enter Browse Mode []
Unsort Records
Go to Record/Request/Page [First]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)