Name
sort
— Sorts list alphabetically.
Description
The sort command returns an
alphabetically sorted list of the contents of
list
.
Example
puts [sort {padova rovigo verona vicenza venezia treviso belluno}]
Produces:
belluno padova rovigo treviso venezia verona vicenza