Sort Functions
LogicGem offers several useful Sort functions designed to rearrange rows and/or columns according to six predetermined criteria:
- Sort rows most complex last - Display the table with the condition stubs rearranged to list entries containing dashes last - in increasing complexity.
- Sort columns Yes before No - Display the table to list all the rules (columns) containing Yes before those containing No.
- Sort columns No before Yes - Display the table to list all the rules (columns) containing No before those containing Yes.
- Sort columns least costly first - Rules are sorted according to their increasing value assigned in the Cost option. An empty cost cell is the lowest value.
- Sort columns most frequent first - Rules are sorted according to their decreasing value assigned in the Frequency option. An empty frequency cell is the lowest value
Sort columns cost / frequency heuristic - Rules are sorted according to their decreasing value of combined cost-frequency ratio.
You may use one of the following methods to invoke a sort function:
Click on the Table menu function
Click on the Sort by Row option to have the condition rows listed in the table from least to most complex.
Click on the Sort by Column option to select from a sub-menu of sort options. Click on the desired sub-menu option.
Tool Bar
Refer back to the Toolbar section in the 'Introduction to LogicGem 3.0 and Decision Tables' chapter for a description of the six different sort icons.