Sorting Array Data
TotalView lets you sort the displayed array data into ascending or descending order. (It does not sort the actual data.) To sort (or remove the sort), click the Value label.
*The first time you click, TotalView sorts the array’s values into ascending order.
*The next time you click on the header, TotalView reverses the order, sorting the array’s values into descending order.
*If you click again on the header, TotalView returns the array to its unsorted order.
Here is an example that sorts an array into descending order:
Figure 156: Sorted Variable Window
When you sort an array’s values, you are just rearranging the information that’s displayed in the Variable Window. Sorting does not change the order in which values are stored in memory. If you alter what TotalView is displaying by using a filter or a slice, TotalView just sorts the values that could be displayed; it doesn’t sort all of the array.
If you are displaying the array created by a Show across command—see Displaying a Variable in all Processes or Threads” for more information—you can sort your information by process or thread.