  If you are sorting strings to present to the end user, use <code>String</code> APIs that perform localized comparison instead.</p>
</blockquote>
<blockquote>
<p>Complexity:
O(<em>m</em>), where <em>m</em> is the lesser of the length of the sequence and the length of <code>other</code>.</p>
</blockquote>
<h4>Declaration</h4><code class="language-swift">@inlinable public func lexicographicallyPrecedes&lt;OtherSequence>(_ other: OtherSequence, by areInIncreasingOrder: (Self.Element, Self.Element) throws -> B