The records in a file can be sorted on the values of one or more of the fields, forming
a key-sequenced data set. The resulting file is called an ordered or sequential
file. The field(s) that the file is sorted on is called the ordering field. If the ordering field is also a key of the file, and therefore guaranteed to have a unique value in
each record, the field is also called the ordering key for the file.