de>])</code>.
  Only returns <code>range.endIndex</code> when <code>self</code> is empty.</p>

<p><strong>Requires:</strong> <code>isOrderedBefore</code> is a
  <a href="http://en.wikipedia.org/wiki/Strict_weak_order#Strict_weak_orderings">strict weak ordering</a>
  over the elements in <code>self</code>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">mutating func partition(range: Range&lt;Self.Index&gt;, isOrderedBefore: (Self.Generator.Element, Self.Generator.Element) -&gt; Bool) -&gt