Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide front-end sorting of trees for based on the column
Right now the sorting is done using string sorting. If the data in the columns are numbers, then number sorting should be used. Moreover, some known string formatting can be reversed to extract the number and do a number comparison. For example, some data providers provide columns with duration, where the value is formatted to show 'ns' for nanosecond, 'us' micro-second and so on. Other example, are percentages shown. The tree of the CPU usage view when using the Trace Compass trace server is good example for different columns and formatting. Note that this implementation is a temporary solution until the TSP and server back-end is augmented to provide a different mechanism to support sorting. fixes eclipse-cdt-cloud#577 Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
- Loading branch information