sort-asc
Sort report data by specified field(s) in ascending order.
Syntax
-sort-asc
<value>
-s-asc
<value>
Arguments
- function
- Sort by function name alphabetical order.
- id
- Sort by problem id.
- investigated
- Sort by whether the problem has been investigated.
- line
- Sort by line number.
- module
- Sort by module.
- problem
- Sort by problem type.
- severity
- Sort by problem severity level.
- source
- Sort by source file name.
- state
- Sort by state.
Default
Varies by report type.
Actions Modified
Description
Use the
sort-asc
action-option to organize a report in ascending order of the specified field(s). You can specify up to three different fields. Legacy formats do not contain all
these data fields, so some information may be missing in reports that display imported data.
Alternate Options
To sort in reverse order, use the
sort-desc
action-option.Example
This example generates a Problems report from the most recently collected result data, and displays the problems in ascending order by line number.
$ inspxe-cl -report problem -sort-asc line