Change display order for series spreadsheet.
The sort command changes the sort order settings for spreadsheet display of the series.
Syntax
series_name.sort([opt])
By default, EViews will sort by the value of the series, in ascending order. For purposes of sorting, NAs are considered to be smaller than any other value.
You may modify the default sort order by providing a sort option. If you provide the integer “0”, or the keyword “obs”, EViews will sort using the original workfile observation order. To sort in descending order, simply include the minus sign (“‑”).
Examples
ser1.sort
change the display order for the series SER1 so that spreadsheet rows are ordered from low to high values of the series.
ser1.sort(-)
sorts in descending order.
ser1.sort(obs)
returns the display order for group SER1 to the original (by observation).
Cross-references
See
“Spreadsheet” for additional discussion.