diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java index 28744272d..d5a480ddc 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java @@ -118,7 +118,7 @@ public class DownloadListPage extends Control implements DecoratorPage, VersionP if (!searchInitialized) { searchInitialized = true; - search("", null, 0, "", RemoteModRepository.SortType.DATE_CREATED); + search("", null, 0, "", RemoteModRepository.SortType.NAME); } if (versionSelection) { diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/RemoteModRepository.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/RemoteModRepository.java index 5fd4c5542..50a43e9ba 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/RemoteModRepository.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/mod/RemoteModRepository.java @@ -38,10 +38,10 @@ public interface RemoteModRepository { Type getType(); enum SortType { + NAME, DATE_CREATED, POPULARITY, LAST_UPDATED, - NAME, AUTHOR, TOTAL_DOWNLOADS } @@ -89,7 +89,7 @@ public interface RemoteModRepository { } String[] DEFAULT_GAME_VERSIONS = new String[]{ - "1.19.3", "1.19.2", "1.19.1", "1.19", + "1.19.4", "1.19.3", "1.19.2", "1.19.1", "1.19", "1.18.2", "1.18.1", "1.18", "1.17.1", "1.17", "1.16.5", "1.16.4", "1.16.3", "1.16.2", "1.16.1", "1.16",