@if ($showSorting && count($sorts))
@lang('Applied Sorting'):
@foreach($sorts as $col => $dir)
{{ $sortNames[$col] ?? collect($this->columns())->pluck('text', 'column')->get($col, ucwords(strtr($col, ['_' => ' ', '-' => ' ']))) }}: {{ $dir === 'asc' ? ($sortDirectionNames[$col]['asc'] ?? 'A-Z') : ($sortDirectionNames[$col]['desc'] ?? 'Z-A') }}
@lang('Remove sort option')
@endforeach
@lang('Clear')
@endif