Name

sort — Sorts list alphabetically.

Synopsis

sort list

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