Sort by Years @php $year = now()->year; $lastYear = $year - 20; @endphp @for ($i = $year; $i >= $lastYear; $i--) {{ $i }} @endfor