title: Best way to check if String is in alphabetical order?
body: <p>This is the most intuitive way to check if a five character String is in alphabetical order?</p>
  
  <pre><code>String newStr = "Hello";
  
  if (newStr.charAt(0) &lt;= newStr.charAt(1) &amp;&amp;
      newStr.charAt(1) &lt;= newStr.charAt(2) &amp;&amp;
      newStr.charAt(2) &lt;= newStr.charAt(3) &amp;&amp;
      newStr.charAt(3) &lt;= newStr.charAt(4)) {
          System.out.println("In order");
  } else
      System.out.println("NOT in order");
  </code></pre>