Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statscraft 0.7.0, release v0.7.0

SORT CASES

Sort the cases by the values of variables.

Syntax

SORT CASES [BY] varlist [(A | D)] [varlist [(A | D)] ...].
A is ascending (the default), D descending; a direction covers the variables before it.
System-missing sorts lowest. Cases with equal keys keep their order.

Example

SORT CASES BY region (A) age (D).

statscraft help SORT CASES prints the same text in the terminal. All commands