Ordering of records in a For Each Record script

Ordering of records in a For Each Record script

I am iterating through records in a form, but I need the order to be based upon a field in the form not the ID of the record.  Is this possible? If so, how?