od.</p>

<pre><code class="language-swift">let descendingStudents = students.sorted(by: &gt;)
print(descendingStudents)
// Prints &quot;[&quot;Peter&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>

    <h4>Declaration</h4>    
    <code class="language-swift">func sorted() -&gt; [LazyDropWhileSequence&lt;Base&gt;.Element]</code>
    
        <h4>Declared In</h4>
        <a h