Sorting Array Data

TotalView lets you sort the displayed array data into ascending or descending order. (It does not, of course, sort the actual data.)

If you select the Variable Window's View > Sort > Ascending, TotalView places all of the array's elements in ascending order.

Sorted Variable Window

As you would expect, View > Sort > Descending places array elements into descending order. The View > Sort > None command returns the array to its original order.

The sort commands only manipulate the displayed elements. This means that if you limit the number of elements by defining a slice or a filter, TotalView only sorts the result of the filtering and slicing operations.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0