                 <option value="title-desc">Title Z-A</option>
                    <option value="group">Thematic Group</option>
                </select>
            </div>
        </div>
        <div id="loading-spinner"></div>
        <div id="dataset-container" class="grid-view">
            <!-- Datasets will be dynamically loaded here -->
        </div>
        <div id="pagination" class="mt-8"></div>
    </main>
    <script>
        document.addEventListener('DOMContentLoaded', function () {
        