  <div class="course-list__right-top">
                            <p class="course-list__right-top-text">
                                Showing <?php echo e($scholarships->firstItem() ?? 0); ?> – <?php echo e($scholarships->lastItem() ?? 0); ?>

                                of <?php echo e($scholarships->total()); ?> scholarships
                            </p>
<div class="course-list__showing-sort">
    <p>Sort by: </p>
    <div class="select-box">
        <select class="" id="sortSelect" onchange="updateSort(this.value)">
            
            <option value="" disabled <?php echo e(!request('sort') ? 'selected' : ''); ?>>Select</option>
            <option value="deadline-asc" 
                <?php echo e(request('sort') == 'deadline' && request('direction') == 'asc' ? 'selected' : (!request('sort') ? 'selected' : '')); ?>>
                Deadline (soonest)
            </option>
            <option value="amount-desc" 
                <?php echo e(request('sort') == 'amount' && request('direction') == 'desc' ? 'selected' : ''); ?>>
                Amount (highest)
            </option>
            <option value="title-asc" 
                <?php echo e(request('sort') == 'title' && request('direction') == 'asc' ? 'selected' : ''); ?>>
                Title A-Z
            </option>
        </select>
    </div>
</div>
                        </div><?php /**PATH D:\Sasi\resources\views/scholarships/partials/topbar.blade.php ENDPATH**/ ?>