Object Reference : Object View and Procedure Reference : Alpha
  
 
sort
Change display order for an alpha series spreadsheet.
The sort command changes the sort order settings for spreadsheet display of the alpha series.
Syntax
alpha_name.sort([opt])
By default, EViews will sort the alpha series alphabetically. 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
a1.sort
changes the display order for the alpha series A1 so that spreadsheet rows are ordered alphabetically.
a1.sort(-)
sorts in descending order.
a1.sort(obs)
returns the display order for alpha series A1 to the original (by observation).
Cross-references
See “Spreadsheet” for additional discussion.