Example 1: test using sort.
The objective is to use the sort command to obtain some statistics of a point distribution.
The output consists of one standard out file that contains the results of the sort/bins, sort/index, and sort/rank commands.
Initial point distribution
The key input commands are shown in red, and the key output is shown in purple.