tcl.sort-list Verb: Access/TCL

tcl.sort-list

Command tcl.sort-list Verb: Access/TCL
Applicable release versions: AP
Category TCL (746)
Description retrieves a previously saved list, sorts it, then rewrites it to the file from which it was retrieved.

If the "file.reference" is omitted, the process defaults to "pointer-file".

If the "list.name" is omitted, the "default" list name of "%user-id" (percent sign followed by user-id) is used.
Syntax sort-list {dict|data} {file.reference} {list.name}
Options
Example
sort-list dict customers delinquent

This sorts the list of strings in the item "delinquent", found in the 
dictionary of the "customers" file, then writes it back to item 
"delinquent" in the dictionary of the "customers" file.

sort-list backorders

This sorts the list, "backorders", found in the 
"pointer-file".
Purpose
Related access.select
access.sselect
tcl.save-list
tcl.el
tcl.delete-list
tcl.copy-list
tcl.edit-list
tcl.get-list
tcl.fl
tcl.compare-list