Laravel Blade Templating @foreach order
<p>Is there any way to sort <code>@foreach</code> loop in laravel blade? <br></p>

<pre><code>@foreach ($specialist as $key)
  &lt;option value="{{$key-&gt;specialist_id}}"&gt; {{$key-&gt;description}}&lt;/option&gt;
@endforeach
</code></pre>

<p>I wolud like to order by <code>$key-&gt;description</code>, <br></p>

<p>I know I can use order by in my controller,</p>

<pre><code>-&gt;orderBy('description')
</code></pre>

<p>but the controller returns other values and those values must be sorted as well, so I need to order by in blade.</p>