title: Sort a text file by line length including spaces
body: <p>I have a CSV file that looks like this</p>
  
  <pre>
  AS2345,ASDF1232, Mr. Plain Example, 110 Binary ave.,Atlantis,RI,12345,(999)123-5555,1.56
  AS2345,ASDF1232, Mrs. Plain Example, 1121110 Ternary st.                                        110 Binary ave..,Atlantis,RI,12345,(999)123-5555,1.56
  AS2345,ASDF1232, Mr. Plain Example, 110 Binary ave.,Liberty City,RI,12345,(999)123-5555,1.56
  AS2345,ASDF1232, Mr. Plain Example, 110 Ternary ave.,Some City,RI,12345,(999)123-5555,1.56
  </pre>
  
  <p>I need to sort it by line length including spaces. The following command doesn't
  include spaces, is there a way to modify it so it will work for me?</p>
  
  <pre><code>cat $@ | awk '{ print length, $0 }' | sort -n | awk '{$1=""; print $0}'
  </code></pre>