r&quot;, &quot;Kweku&quot;, &quot;Kofi&quot;, &quot;Akosua&quot;, &quot;Abena&quot;]&quot;</code></pre>

<p><strong>Returns:</strong> A sorted array of the sequence&#39;s elements.</p>

<p><strong>See Also:</strong> <code>sorted(by:)</code></p>

    <h4>Declaration</h4>    
    <code class="language-swift">func sorted() -&gt; [Iterator.Element]</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/Sequence/"><code>Sequence</code></a>    
</div></div>
</div>





<h4>Where Iterator.Element