sed -r 's/([^w]*)(w+)/\1 \2\n/g' | awk 'NF==2{print length($2),$0}' | sort -snrk1,1 | awk '$1