PATH
WebObjects 4.0 Documentation >
EOF Tools and Techniques
Table of Contents Previous Section
Assigning a Sort Ordering
To specify the order in which the fetch specification fetches its objects, use the Sort Ordering tab in the Fetch Specification Builder, as shown in Figure 43.
Figure 43. Assigning a Sort Ordering
Simply choose an attribute to sort on, and click Add. The order in which you add the attributes specifies the weight to assign to them. In Figure 43, the fetch specification sorts first on title and then on category.
Additionally, for each attribute you sort on, you can specify an ascending or descending order and whether to perform a case-sensitive or case-insensitive comparison.
Table of Contents Next Section