
                populateFilterPanel();

                // Initialize with random sorting
                shuffleArray(datasets);

                // Apply filters
                filterDatasets();

                // Update pagination
                updatePagination();

                // Update dataset count
                datasetCount.textContent = `${datasets.length} datasets`;
            }

            // Update catalog counts in the UI
            function updateCatalogCounts() {
                a