527 |
for ascending order. These apply to the entire list of variables |
for ascending order. These apply to the entire list of variables |
528 |
preceding them. |
preceding them. |
529 |
|
|
530 |
|
The sort algorithms used by @cmd{SORT CASES} are stable. That is, |
531 |
|
records that have equal values of the sort variables will have the |
532 |
|
same relative order before and after sorting. As a special case, |
533 |
|
re-sorting an already sorted file will not affect the ordering of |
534 |
|
cases. |
535 |
|
|
536 |
@cmd{SORT CASES} is a procedure. It causes the data to be read. |
@cmd{SORT CASES} is a procedure. It causes the data to be read. |
537 |
|
|
538 |
@cmd{SORT CASES} attempts to sort the entire active file in main memory. |
@cmd{SORT CASES} attempts to sort the entire active file in main memory. |
539 |
If main memory is exhausted, it falls back to a merge sort algorithm that |
If workspace is exhausted, it falls back to a merge sort algorithm that |
540 |
involves writing and reading numerous temporary files. |
involves creates numerous temporary files. |
541 |
|
|
542 |
@cmd{SORT CASES} may not be specified following TEMPORARY. |
@cmd{SORT CASES} may not be specified following TEMPORARY. |
543 |
@setfilename ignored |
@setfilename ignored |