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.