The lists duplicate and don’t sync from the main account
Triage & Root Cause Analysis
- Classification:
bug(fix(sync): resolve list duplication and cross-device account syncing) - Priority: High / Critical
- Affected Components:
packages/hfw_core,packages/hfw_jaspr,packages/hfw_flutter,packages/hfw_server
Root Causes Identified
-
Premature
"Favorites"& Guest List Migration Before Initial Sync Completes (web_app_store_web.dart)- In
packages/hfw_jaspr/lib/services/web_app_store_web.dart(_migrateGuestListsToAccount, lines908–980), the check for whether"Favorites"or matching user lists exist in local SQLite (SELECT id FROM user_lists WHERE user_id = ? ...) is triggered immediately at line204(_initPowerSync) and line823(_persistAuth) before PowerSync completes its initial sync from the server. - Because local SQLite is still empty at that moment (
existingLists.isEmpty == true),conn.createUserList(targetUserId, 'Favorites', ...)generates a brand-new UUID v4 (packages/hfw_core/lib/src/services/powersync/queries.dart:873) and uploads a duplicate"Favorites"list on every fresh session/login. The same happens inpackages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart(_migrateGuestListsToAccount, lines240–281).
- In
-
user_list_itemsMissinguser_idColumn in Client Schema vs. PowerSync Sync Rules- In
packages/hfw_server/powersync/sync_rules.yaml(lines26–32), PowerSync filters list items bySELECT * FROM user_list_items WHERE user_id = bucket.user_id. - However, the client SQLite schema in
packages/hfw_core/lib/src/services/powersync/database.dart(lines195–204) andaddHymnToListinpackages/hfw_core/lib/src/services/powersync/queries.dart(lines942–964) do not include auser_idcolumn onuser_list_items. - Furthermore,
/api/powersync-uploadinpackages/hfw_server/powersync/setup.go(lines100–225) does not injectuser_id = authRecord.Idintouser_list_itemsonPUT/PATCH, leavinguser_idasNULLin PostgreSQL so items fail to replicate back to other devices via PowerSync.
- In
-
Split-Brain Between PocketBase (
data.db) and PowerSync (PostgreSQL)- Both Web (
web_app_store_web.dart:1446–1488) and iOS (hfw_headless_coordinator.dart:332–446) fall back to reading from the PocketBase REST API (/api/collections/user_lists/records), while all client writes go exclusively to PostgreSQL via/api/powersync-upload(setup.go:100–225). - On Web (
web_app_store_web.dart:1462), once a single local list (such as the auto-created"Favorites"list) exists in local PowerSync SQLite (rows.isNotEmpty),getHymnLists()skips the PocketBase fallback entirely—making main account lists stored in PocketBase disappear. - On iOS (
hfw_headless_coordinator.dart:332–359),_mergeUserListsAndCounts()merges both_remoteUserLists(PocketBase) and_localUserLists(PowerSync) byid, causing duplicate entries when IDs differ and resurrecting deleted lists that still exist in PocketBase.
- Both Web (
Proposed Fix
- Wait for PowerSync initial sync completion (
waitForFirstSync/hasSynced) before running_migrateGuestListsToAccountor seeding a default"Favorites"list, and deduplicate"Favorites"by normalized name/deterministic ID. - Add
Column.text('user_id')touser_list_itemsindatabase.dartandqueries.dart, and enforceop.Data["user_id"] = authRecord.Idon server upload (setup.go) sosync_rules.yamlreplicates all list items across devices. - Unify
user_listsanduser_list_itemsstorage so PocketBase and PostgreSQL stay synchronized without split-brain reads/writes.
Fixed across Server, Web, iOS/iPadOS, and Android:
- PostgreSQL / PowerSync Backfill (
packages/hfw_server/powersync/setup.go): Backfilled missinguser_idonuser_list_itemsfrom parentuser_listsduringInitDb()so pre-migration list items sync into the user’s PowerSync bucket, and updatedPATCH/DELETEhandling in/api/powersync-uploadto match items whoseuser_idwas previously NULL/empty. - Duplicate List Deduplication & Item Merging (
packages/hfw_core,packages/hfw_jaspr,packages/hfw_flutter): Deduplicateduser_listsby normalized path/name (LOWER(TRIM(name))) per user while preferring the list row that owns items, mergeduser_list_itemsacross duplicate list IDs sharing the same normalized name, parsed JSONmetadata.hymn_idfallbacks, and matched hymns by bothidandnumber. - Pure Local PowerSync Queries: Removed all legacy PocketBase HTTP fallback queries so all lists, list items, and history read strictly from the local PowerSync SQLite database.
Comment by dkladd:
I tried this in the web version today and it’s not loading any lists current. Shows no lists on web version. I can see historic lists on iOS but not web for some reason
Pushed another version last night, can you test on web again?
Status Update & Technical Audit (Web vs. iOS List Sync)
Hi @dkladd — following up on your Oct 16 report (“Shows no lists on web version. I can see historic lists on iOS but not web for some reason”). Here is a summary of what was deployed later on Oct 16 after your comment, along with the remaining edge cases we identified in our audit of the Web + iOS list sync pipeline.
1. Fixes Deployed Later on Oct 16 (After Your 10:13 AM Report)
At the time of your test on the morning of Oct 16, Web list sync was still blocked by three issues that were patched later that afternoon/evening:
- Web PowerSync Blocked Behind 41.1 MB Library Bucket (
f189a4a— Oct 16, 7:23 PM)- What happened: Previously, the Web client had to finish downloading and indexing the entire
library_databucket (~41 MB of hymn metadata/assets into browser WASM SQLite) before PowerSync would finish syncinguser_data(user_listsanduser_list_items). On Web, this frequently stalled or showed0lists. - Fix: Added a dedicated fast-path endpoint (
GET /v1/users/me/lists-syncinpackages/hfw_jaspr/lib/main.server.dart) that streams only the authenticated user’suser_databucket in ~130ms, plus direct HTTP write-through (/api/powersync-upload) and 8-second foreground polling inWebAppStore.
- What happened: Previously, the Web client had to finish downloading and indexing the entire
- Web Auth User ID & Self-Healing Token Refresh (
24174cc— Oct 16, 12:44 PM)- What happened: If the cached PocketBase user record in
localStoragewas missingidor the token expired, Web defaulted tolocal_guestand filtered out account lists. - Fix: Added JWT payload fallback (
WebListRecordMapper.resolveUserId), automatic token refresh on401/403inHttpPowerSyncConnector,localStoragesnapshot caching (hfw_cached_user_lists_v2), and the Repair Sync & Clear Cache action in the account menu.
- What happened: If the cached PocketBase user record in
- Guest-to-Account List & CRUD Migration (
0079e3d— Oct 16, 1:03 PM)- Fix: Preserved custom list item portions/metadata in cache and rewrote pending
local_guestentries inps_crudto the signed-inuser_idinstead of purging them on sign-in.
- Fix: Preserved custom list item portions/metadata in cache and rewrote pending
2. Why Historic Lists Can Still Appear on iOS While Missing on Web (Open Root Causes)
If you are still seeing historic lists on iOS that do not appear on Web even after refreshing Web (or running Repair Sync & Clear Cache), our codebase audit identified four specific scenarios that explain the discrepancy:
- Historic iOS Lists Stored Only in Local SQLite (Never Uploaded to Server)
- Where:
packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart(_initPowerSynclines 993–999,_listsSublines 1444–1461). - Mechanism: iOS renders the Lists tab directly from its local
powersync3.dbSQLite tables (user_lists/user_list_items). However, PowerSync only uploads local rows to PostgreSQL when they have pending entries in theps_crudqueue. - If your iOS token had expired during a previous launch,
HfwHeadlessCoordinator._initPowerSyncexecutedDELETE FROM ps_crudwhen!_authService.isAuthenticated(line 994) orDELETE FROM ps_crud WHERE data LIKE '%local_guest%'(line 997). That leaves the historic lists visible locally in iOS’suser_liststable while wiping the upload queue—so those lists never reach the server or Web.
- Where:
- iOS Destructive Logout on Token Expiry vs. Silent Refresh
- Where:
packages/hfw_flutter/lib/injection.dart(lines 88–93) andpackages/hfw_flutter/lib/services/auth/auth_service.dart(lines 225–228). - Mechanism: On iOS,
HttpPowerSyncConnector.onAuthFailureis wired directly toAuthService.logout(). If the PocketBase token expires while iOS is attempting to upload list changes inuploadData(), it triggerslogout(), and on the next launch any un-uploadedps_crudentries are deleted.
- Where:
- Missing Guest-to-Account List Migration on iOS
- Where:
packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart(lines 996–999) vs.packages/hfw_jaspr/lib/services/web_app_store_web.dart(_migrateGuestListsToUser, lines 1183–1207). - Mechanism: Web migrates lists created while signed out (
user_id = 'local_guest') to the authenticated user’s ID on login. iOS does not run this migration and currently deleteslocal_guestps_crudmutations on startup.
- Where:
- Web
/v1/users/me/lists-syncAuthoritative Empty Override Risk- Where:
packages/hfw_jaspr/lib/main.server.dart(lines 300–360) andpackages/hfw_jaspr/lib/services/web_app_store_web.dart(lines 830–920). - Mechanism: When
/v1/users/me/lists-syncreturns HTTP 200, Web sets_hasSyncedListsFromServerHttp = trueandgetHymnLists()stops falling back to local WASM PowerSync SQLite. If the server stream times out at 8 seconds or the bucket checkpoint returns 0 lines beforesync-complete, Web will authoritatively display an empty list.
- Where:
3. Quick Diagnostic Check for @dkladd
Could you check two quick things when you have a moment?
- On Web: Do a hard refresh / open the Account menu and click Repair Sync & Clear Cache to ensure your browser is running the post-
f189a4abuild. - On iOS: Try renaming one of the historic lists (or adding/removing a hymn inside it) while signed in on iOS.
- If that list immediately appears on Web afterward, it confirms Root Cause #1 (the historic lists exist in iOS local SQLite, and touching the list creates a fresh
ps_crudentry that uploads it to the server).
- If that list immediately appears on Web afterward, it confirms Root Cause #1 (the historic lists exist in iOS local SQLite, and touching the list creates a fresh
4. Proposed Action Plan to Close This Out Permanently
- iOS Local-to-Server List Reconciliation: On iOS startup (when authenticated), inspect local
user_listsanduser_list_itemsinpowersync3.dband enqueue/upload any existing local lists & items to/api/powersync-uploadso historic local-only iOS lists automatically sync to the server without requiring manual edits. - Non-Destructive iOS Auth Failure Handling: Stop deleting
ps_crudon transient auth failures inHfwHeadlessCoordinator._initPowerSync; mirror Web’sWebListRecordMapper.rewriteGuestCrudDatamigration on iOS so offline/guest lists are migrated to the signed-in user rather than dropped. - Harden
/v1/users/me/lists-sync: Only mark_hasSyncedListsFromServerHttp = truewhen the PowerSync stream confirmed completion (or merge with local WASM SQLite rather than replacing non-empty local lists with an incomplete stream).
Cross-Platform Applicability & Audit Matrix (iOS/iPadOS, macOS, Android, Web)
To ensure our fixes for Issue #16 cover every client in the monorepo, we audited how iOS/iPadOS, macOS, Android, and Web manage list storage, deduplication, auth lifecycle, and PowerSync synchronization.
Architecture Overview
- iOS/iPadOS, macOS, and Android all run the exact same headless Dart engine (
packages/hfw_flutter/lib/main.dart→HfwHeadlessCoordinator) andconfigureDependencies()(packages/hfw_flutter/lib/injection.dart), bridged via Pigeon (HfwHeadlessFlutterApi/HfwNativeHostApi).- iOS/iPadOS & macOS share the same SwiftUI
HfwStore(packages/hfw_flutter/ios/Runner/HfwStore.swift) and list views (packages/hfw_flutter/ios/Runner/HfwListsAndSettingsViews.swift), with macOS hostingHfwRootViewinsidepackages/hfw_flutter/macos/Runner/MainFlutterWindow.swift. - Android uses Jetpack Compose with
HfwStore.kt(packages/hfw_flutter/android/app/src/main/kotlin/com/appleeducate/hfw/HfwStore.kt) andHfwListsComposeViews.kt. - Neither
HfwStore.swift(iOS/macOS) norHfwStore.kt(Android) persists lists inUserDefaultsorSharedPreferences; both hold purely in-memory reactive state (@Published var listsExplorer/MutableStateFlow<NativeListsExplorerStateDto?>) pushed byHfwHeadlessCoordinator.
- iOS/iPadOS & macOS share the same SwiftUI
- Web (
packages/hfw_jaspr/lib/services/web_app_store_web.dart) uses its own store (WebAppStore) combining browser WASM PowerSync SQLite (powersync_web_v3.db),localStoragesnapshot caches (hfw_cached_user_lists_v2/hfw_cached_list_items_v2), direct HTTP write-through (/api/powersync-upload), and the fast-pathGET /v1/users/me/lists-syncendpoint.
Cross-Platform Audit Matrix
| Mechanism / Edge Case | iOS / iPadOS | macOS | Android | Web (hfw_jaspr) |
Exact File & Line References |
|---|---|---|---|---|---|
1. Un-uploaded local SQLite lists (DELETE FROM ps_crud on startup) |
Affected | Affected | Affected | Fixed (0079e3d) |
Native: packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart:993-999Web: packages/hfw_jaspr/lib/services/web_app_store_web.dart:1126-1180 |
2. Destructive onAuthFailure -> logout() (deletes saved account & token on 401/403) |
Affected | Affected | Affected | Not Affected (non-destructive) | Native DI: packages/hfw_flutter/lib/injection.dart:88-93Native Auth: packages/hfw_flutter/lib/services/auth/auth_service.dart:225-228, 283-289Web: packages/hfw_jaspr/lib/services/web_app_store_web.dart:1022-1046 |
3. Missing local_guest → Account list migration on sign-in |
Affected | Affected | Affected | Fixed (24174cc, 0079e3d) |
Native: packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart:996-999Web: packages/hfw_jaspr/lib/services/web_app_store_web.dart:1183-1207 |
4. Unauthenticated importListJson creates orphaned local_guest lists |
Affected (via Siri/Files/Menu) | Affected (via Cmd+Shift+I / Dock / File open) |
Affected (via ACTION_SEND intent / file open) |
Not Affected (migrates on sign-in) | Native Coordinator: packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator_lists_auth.dart:1113-1156macOS Menu: packages/hfw_flutter/macos/Runner/AppDelegate.swift:150-152Android Intent: packages/hfw_flutter/android/app/src/main/kotlin/com/appleeducate/hfw/MainActivity.kt:98-114 |
5. Fast-path HTTP list sync (GET /v1/users/me/lists-sync) & direct /api/powersync-upload write-through |
Not Used (waits for full PowerSync checkpoint) | Not Used (waits for full PowerSync checkpoint) | Not Used (waits for full PowerSync checkpoint) | Enabled (f189a4a) |
Web: packages/hfw_jaspr/lib/services/web_app_store_web.dart:759-1003Server: packages/hfw_jaspr/lib/main.server.dart:227-395 |
6. /v1/users/me/lists-sync 8s stream timeout authoritative empty-list override |
N/A | N/A | N/A | Affected | Server: packages/hfw_jaspr/lib/main.server.dart:300-360Web: packages/hfw_jaspr/lib/services/web_app_store_web_lists.dart:734-743 |
7. Legacy Documents/powersync3.db → Application Support/powersync3.db file migration |
iOS-Only (skips if target DB already exists) | N/A (always used Application Support) |
N/A (always used filesDir) |
N/A (OPFS/IndexedDB) | packages/hfw_flutter/lib/injection.dart:104-144packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart:974-986, 1087-1175 |
| 8. Case-insensitive list name deduplication & item merging | Implemented | Implemented | Implemented | Implemented | Native: packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart:1344-1406Shared Queries: packages/hfw_core/lib/src/services/powersync/queries.dart:718-761, 910-985Web: packages/hfw_jaspr/lib/services/web_app_store_web.dart:683-736 |
Detailed Platform Findings
1. Shared Native Engine Issues (Affecting iOS/iPadOS, macOS, and Android Identically)
Because all three native platforms initialize HfwHeadlessCoordinator (packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart) and configureDependencies() (packages/hfw_flutter/lib/injection.dart), they share four identical list-sync vulnerabilities:
- Startup
ps_crudWipe (hfw_headless_coordinator.dart:993-999):- On every app launch across iOS, macOS, and Android,
_performInitialization()executes:if (!_authService.isAuthenticated) await _database.db.execute('DELETE FROM ps_crud');else await _database.db.execute("DELETE FROM ps_crud WHERE data LIKE '%local_guest%' OR data LIKE '%user_hymn_history%'");
- Any un-uploaded list mutations remain in the local
user_lists/user_list_itemsSQLite tables (so they render locally on that device via_listsSubathfw_headless_coordinator.dart:1444-1461), but theirps_crudupload entries are permanently deleted—so they never upload to PostgreSQL or appear on other devices.
- On every app launch across iOS, macOS, and Android,
- Destructive
onAuthFailure -> logout()(injection.dart:88-93&auth_service.dart:225-228, 283-289):- On iOS, macOS, and Android,
onAuthFailurecallsgetIt<AuthService>().logout(), which callsremoveAccount(_userId!)—removing the account from_savedAccounts(or switching to another saved account) and clearing_token. If a device’s token fails refresh duringfetchCredentials()oruploadData(), the user is logged out and the next launch wipesps_crud.
- On iOS, macOS, and Android,
- Unauthenticated
importListJsonBypass (hfw_headless_coordinator_lists_auth.dart:1113-1156):- While the Lists tab UI on SwiftUI (
HfwListsAndSettingsViews.swift:94) and Compose (HfwListsComposeViews.kt:172) shows a sign-in prompt when logged out,importListJsondoes not check_authService.isAuthenticated(unlikecreateListat line549). - Users can trigger
importListJsonwhile signed out via:- macOS: Menu bar
File -> Import Hymn List (JSON)…(Cmd+Shift+I,macos/Runner/AppDelegate.swift:150-152) or opening a.jsonfile from Finder (AppDelegate.swift:56-68). - iOS/iPadOS:
OpenHymnFileIntentSiri Shortcut (HfwStoreSystemIntegration.swift:1458-1497), hardware keyboardCmd+Shift+I(ios/Runner/AppDelegate.swift:181-187), or opening a.jsonfile from Files/AirDrop. - Android: Sharing a JSON list via
Intent.ACTION_SEND(MainActivity.kt:98-114) or opening a.jsonfile URI (MainActivity.kt:142-146).
- macOS: Menu bar
- When invoked while signed out,
importListJsonwrites the list into SQLite with_effectiveUserId == 'local_guest', which is then stripped fromps_crud(powersync_connector.dart:149-151andhfw_headless_coordinator.dart:997) and never migrated when the user signs in.
- While the Lists tab UI on SwiftUI (
- No Fast-Path List Sync or Direct Write-Through on Native:
- Unlike Web (
_performSyncListsFromServerHttp+_uploadCrudDirect), iOS, macOS, and Android rely exclusively on the PowerSync streaming WebSocket/HTTP sync loop (Database._doConnectinpackages/hfw_core/lib/src/services/powersync/database.dart:267-317). On a fresh install on Android, macOS, or iOS,user_listsmay wait behind the initiallibrary_datasync checkpoint unless fast-path list sync is also enabled inHfwHeadlessCoordinator.
- Unlike Web (
2. iOS-Specific Legacy Database Migration Edge Case (injection.dart:110-143)
- On iOS/iPadOS only,
configureDependencies()migratesDocuments/powersync3.dbtoApplication Support/powersync3.db:if (!await targetDb.exists() && await legacyDb.exists()) { ... rename ... } else { ... delete legacyDb ... }(injection.dart:116-140).- If
Application Support/powersync3.dbwas ever created first (for example, during an unauthenticated launch before migration), theelsebranch deletesDocuments/powersync3.db. Neither macOS nor Android ever storedpowersync3.dbinDocuments.
Updated Cross-Platform Action Plan
- Shared Native + Core (
iOS/iPadOS,macOS,Android):- In
HfwHeadlessCoordinator._performInitialization(hfw_headless_coordinator.dart:990-1000), replaceDELETE FROM ps_crudwith non-destructiveWebListRecordMapper.rewriteGuestCrudData/shouldPurgeCrudEntryand migrate anyuser_lists/user_list_itemswithuser_id = 'local_guest'to the authenticateduserIdon sign-in (matching Web). - Add a Local-to-Server List Reconciliation pass in
HfwHeadlessCoordinatorwhen authenticated (and direct HTTP write-through/v1/users/me/lists-sync+/api/powersync-upload) so existing local SQLite lists on iOS, macOS, and Android immediately upload to PostgreSQL and sync down without waiting for the 41 MBlibrary_databucket. - Make
onAuthFailureinpackages/hfw_flutter/lib/injection.dart:88-93non-destructive so transient auth failures do not wipe saved accounts or pendingps_crudlist mutations.
- In
- Web (
hfw_jaspr):- Include a
completestatus flag inGET /v1/users/me/lists-sync(main.server.dart:300-385) soWebAppStoreonly marks_hasSyncedListsFromServerHttp = truewhen the PowerSync bucket stream finished (sync-complete), preventing an 8s stream timeout from hiding local lists.
- Include a
Cross-Platform Implementation Summary (Issue #16)
Implemented the cross-platform fixes for Lists Duplicating/Not Syncing [web/iOS] across Shared Native Coordinator (iOS/iPadOS/macOS/Android) and Web (hfw_jaspr):
-
Non-Destructive
ps_crud& Guest List Migration (packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart)- Replaced the destructive startup
DELETE FROM ps_crud/DELETE FROM ps_crud WHERE data LIKE '%local_guest%'with_sanitizePsCrudQueue(preserveUserListsAndItems: true)and_migrateGuestListsToUser(targetUid)usingWebListRecordMapper.rewriteGuestCrudData(...)andWebListRecordMapper.shouldPurgeCrudEntry(..., preserveUserListsAndItems: true). - Deduplicates any guest lists (
local_guest/ emptyuser_id) whose normalized name matches an existing user list (such as"Favorites"), reassigning theiruser_list_itemsto the canonical list ID before removing the duplicate guest list row. - Hooked
_migrateGuestListsToUserand_reconcileLocalListsToServerinto both startup (_performInitialization) and session auth changes (_rebindUserScopedStreams).
- Replaced the destructive startup
-
Historic Local-to-Server List Reconciliation (
packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart)- Added
_reconcileLocalListsToServer(String userId)and_uploadRecordToServerHttp(...)to push localuser_listsanduser_list_itemsfrompowersync3.dbto/api/powersync-upload(normalizingtype: 'custom' -> 'hymns'), recovering historic lists on iOS/macOS/Android whoseps_crudrows were previously cleared.
- Added
-
Resilient PowerSync Auth Failure Handling (
packages/hfw_flutter/lib/injection.dart,packages/hfw_flutter/lib/services/auth/auth_service.dart)- Updated
onAuthFailureto invokeAuthService.handlePowerSyncAuthFailure(statusCode, responseBody)rather than immediately callinglogout(). - Guarded
refreshSession()andhandlePowerSyncAuthFailure()withWebListRecordMapper.isJwtExpiredOrInvalid(...)so transient 401/403 responses from PowerSync do not wipe valid user sessions.
- Updated
-
Web
/api/user-listsCheckpoint Completeness Guard (packages/hfw_jaspr/lib/main.server.dart,packages/hfw_jaspr/lib/services/web_app_store_web.dart)- Added
'complete': isCompletealongside'checkpoint_completed'in/api/user-lists(main.server.dart). - Updated
_performSyncListsFromServerHttp(web_app_store_web.dart) to inspectisCompleteand preserve local/cached lists when an 8-second stream timeout returns an incomplete empty snapshot, only setting_hasSyncedListsFromServerHttp = truewhenisComplete || nextListsSnapshot.isNotEmpty.
- Added
-
Universal Search
scope == 'lists'Sorting (packages/hfw_flutter/lib/src/native_bridge/hfw_headless_coordinator.dart)- Updated
matchingLists.sortin_runSearchAndPushto honor'updatedDesc'and'updatedAsc'in addition to'titleDesc'/'nameDesc'and'titleAsc'/'nameAsc'withnaturalCompare.
- Updated