-lexicographicalcompare_"><div class="p">
    <p>Return true iff <code>self</code> precedes <code>other</code> in a lexicographical (&quot;dictionary&quot;)
ordering, using &quot;&lt;&quot; as the comparison between elements.</p>

<p><strong>Note:</strong> This method implements the mathematical notion of lexicographical
  ordering, which has no connection to Unicode.  If you are sorting strings
  to present to the end-user, you should use <code>String</code> APIs that perform
localized comparison.</p>

   