About Sorting Relations
The sort function sorts relations in order of precedence, based on how they are evaluated by the system. If one relation depends on the value of another relation, it is reordered accordingly. Sorting relations helps you detect undesired circular relations.
To sort relations, click on the Relations dialog box or click Utilities > Reorder Relations.
* 
Relations containing conditional statements are not sorted.
Sorting Relations with Comment Lines
Relations with comment lines can also be sorted. The comment line is attached to the relation below it, and moves with that relation during a sorting. If multiple comment lines precede a relation, they are attached to that relation.