On 11.12.2011 at 23:00 Uhr -0500 dunbarx at aol.com apparently wrote: >I can do this the long way, but is there a clever sortkey that will >sort lines by the length of those lines? > something along this should work: sort lines of myVar numeric by length of each Robert