Sorted display of a menu on the console

As of LCOS 9.00 you have the option of sorting the output of the menu items by using the argument -s.

Command Description
dir|list|ls|llong [-a] [-r] [-s] [<Path>] [<Filter>] Displays the current directory content. Possible arguments are:
  • -a: In addition to the content of the query, this also lists the SNMP IDs. The output begins with the SNMP ID of the device followed by the SNMP ID of the current menu. The SNMP IDs of the subordinate items can be read from the individual entries.
  • -r: Also lists all subdirectories as well as the tables they contain.
  • -s: Sorts the display of the current directory; grouped by sub directories, tables, values, and actions; in ascending alphabetical order.

Alternatively, you have the option of setting the default to sorted output using the corresponding setup parameter Setup > Config > Sort-menu.