diff --git a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt index 61f883cde..d228fa66f 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceActivity.kt @@ -237,7 +237,7 @@ class BookSourceActivity : VMBaseActivity data.sortedBy { it.bookSourceUrl } - Sort.Update -> data.sortedBy { it.lastUpdateTime } + Sort.Update -> data.sortedByDescending { it.lastUpdateTime } Sort.Respond -> data.sortedBy { it.respondTime } Sort.Enable -> data.sortedWith { o1, o2 -> var sort = -o1.enabled.compareTo(o2.enabled) @@ -254,7 +254,7 @@ class BookSourceActivity : VMBaseActivity data.sortedByDescending { it.bookSourceUrl } - Sort.Update -> data.sortedByDescending { it.lastUpdateTime } + Sort.Update -> data.sortedBy { it.lastUpdateTime } Sort.Respond -> data.sortedByDescending { it.respondTime } Sort.Enable -> data.sortedWith { o1, o2 -> var sort = o1.enabled.compareTo(o2.enabled)