in reply to
An APL trick for the Schwartzian Transform
Here's another discussion:
Re: Substring Sort
.  (Even though it's about speed, it still suggests alternatives similar to yours (which I like, btw).)
 
p
Comment on
Re: An APL trick for the Schwartzian Transform
In Section
Meditations