Creating ascending or descending sorts in a report
You have a hyperblock in a report and want users to be able to sort its contents in ascending or descending order by selecting Ascending or Descending from a combo box.
- 
            Create a custom hierarchy. 
		  
            Right-click Custom Hierarchies in the Accessories pane and select New Custom Hierarchy.
 - Right-click the hierarchy and select Edit.
 - Add a parent node and name it Ascending.
 - Add a sibling node and name it Descending.
 - 
            Click the  Show Unique
                  Names icon. 
            node and node2 are displayed. These are the unique names of the nodes.
 - 
            Select node and press <F2> to make it editable. Rename it
			 ASC. 
		  
            Note: Unique names are case-sensitive: "Asc" will not work.
 - 
            Rename node2 as DESC. 
		  
            Note: Unique names are case-sensitive. "Desc" will not work.
 - Create a combo box in a report and drag the custom hierarchy onto it. The combo box displays Ascending and Descending.
 - Create a hyperblock from a dimension. Select the hyperblock and select Sorting in the List Designer.
 - Click New Sorting Criterion.
 - In Sorting Criteria Settings, select Caption as the type.
 - 
            Select <Edit Formula> as the Order. 
		  
            The Edit Formula dialog box is displayed.
 - 
            In the 
			 Edit Formula 
			  dialog box, expand Listviews and double-click the name of
			 the combo box which contains the custom hierarchy. This is then displayed in
			 the right-hand pane (for example, 
			 
=ReportObjects.ListView3.text). - Click OK.
 - In List Designer, save the changes to the list.
 - View the report in View Mode.
 - Select 'Ascending’ or 'Descending’ from the combo-box to change the order of the elements in the hyperblock.