Previous section   Next section

Practical Programming in Tcl & Tk, Third Edition
By Brent B. Welch

Table of Contents
Chapter 51.  Tcl/Tk 8.0

New lsort

The lsort command was reimplemented. The new implementation is reentrant, which means you can use lsort inside a sorting function called by lsort. New options have lessened the need for custom sorting procedures, too. The -dictionary option sorts cases together and it handles numbers better. The -index option sorts lists on a key field. These are described on page 65.

      Previous section   Next section