Description: |
Hello,
it would be nice to get the command used by `lsort -dictionary` as a standalone proc, in order to compose more complicated comparison procs (for lsort -command) and to improve consistency.
I'd say that `string compare -dictionary` would be the best target for this.
|
User Comments: |
hadrien added on 2019-08-24 19:33:18:
I've read a bit the source code, and just plugging DictionaryCompare into TclStringCmp shouldn't be too hard (for someone who knows the codebase). This is really lacking, I think; forcing the user to use an unsightly hack around `lsort -dictionary`.
|