On Tue, Sep 23, 2014 at 2:07 PM, Klaus major-k <klaus at major-k.de> wrote: > this compiles and kinda works, but not as exspected :-/ > ... > sort lines of fld 1 by length(each) > You want: sort lines of fld 1 numeric by length(each) Otherwise a line with length 13 will sort before a line with length 4