Sort cases

This dialog box sorts cases (rows) of the active dataset based on the values of one or more sorting variables. You can sort cases in ascending or descending order.

To Sort Cases

  1. From the menus choose:

    Data > Sort Cases...

  2. Select one or more sorting variables.

    Optionally, you can do the following:

    Index the saved file. Indexing table lookup files can improve performance when merging data files with STAR JOIN.

    Save the sorted file. You can save the sorted file, with the option of saving it as encrypted. Encryption allows you to protect confidential information stored in the file. Once encrypted, the file can only be opened by providing the password assigned to the file.

    To save the sorted file with encryption:

  3. Select Save file with sorted data and click File.
  4. Select Encrypt file with password in the Save Sorted Data As dialog box.
  5. Click Save.
  6. In the Encrypt File dialog box, provide a password and re-enter it in the Confirm password text box. Passwords are limited to 10 characters and are case-sensitive.

Warning: Passwords cannot be recovered if they are lost. If the password is lost the file cannot be opened.

Creating strong passwords

Note: Storing encrypted files to an IBM® SPSS® Collaboration and Deployment Services Repository is not supported.

Note: Encrypted data files and output documents cannot be opened in versions of IBM SPSS Statistics prior to version 21. Encrypted syntax files cannot be opened in versions prior to version 22.