cat file.txt | awk '{ print length($0) " " $0; }' | sort -r -n | cut -d ' ' -f 2-