extractSort(sortActorArray: SortActorArray; targetFile: File);
The extractSort method of the File class sorts the contents of the file into the sort order indicated by the sortActorArray parameter and writes the results of the sort to the target file specified in the targetFile parameter.
You cannot run this method on a thin client (where the FileNode class usePresentationFileSystem property is set to true) or with a Unicode version.
If the value of the recordSize property is zero (0), the file is read as variable-length records delineated by endOfLine property values. If the recordSize value is not zero, the file is read as fixed-length records of the specified record size, and the value of the endOfLine property is not used.
The
The locale in which the sorting is performed is defined by the
The sorted order of duplicate records is not determined.
When using the extractSort method, the numeric fields must be less than or equal to 14 characters and in the range represented by the Min_Integer and Max_Integer global constants. (For details, see "
You cannot perform a numeric sort if the field that you are sorting contains decimals.
For details about specifying the directory in which temporary sort files are located, see the