Memory controls, character titles and lorebook sorting

PR #7152 fixes issues #7150 and #7151, adds clearer Pause/Resume controls, and delivers the sidebar sorting change requested in #7154. Lorebook All ordering, token sorting, category filtering and returning to All pass six browser/theme combinations; the separate character-assignment category rule is unchanged. Screenshots use isolated fixture chats. Picker baseline cases fail on the old source; the final picker passes six cases across desktop Chromium, mobile Chromium and iPhone-sized WebKit. Recovery screenshots compare the original disabled control with the fix. Running/error status responses are controlled browser fixtures; mode changes use the real API. Memory browser checks cover mode switching, disabling during failures, initial setup, pause/resume, retained progress, and duplicate-resume prevention. The Pause button reuses the existing resumable cancellation API; UI status responses are controlled fixtures. Server regressions separately verify cancellation of a held provider request and preservation of transcript/archive data.

Echo issue #7149 is investigated, not claimed fixed: desktop reopening after a separate mobile client closes the window passes on unchanged Chromium and Firefox 153/155 code, including pinned/unpinned layouts. Firefox 153 also passed with new messages added after the mobile close. Physical devices and the reporter's affected browser profile remain unverified. Pause/Resume extends the existing recovery fix. Integrated staging base 1c7e821a9.

Before: All lorebooks are regrouped as A, C, B
Before: All lorebooks are regrouped as A, C, B
After: All keeps A, B, C in one alphabetical list
After: All keeps A, B, C in one alphabetical list
After: iPhone-sized WebKit respects token sorting across categories
After: iPhone-sized WebKit respects token sorting across categories
Before: character titles missing from Chat Settings
Before: character titles missing from Chat Settings
After: duplicate names distinguished by their titles
After: duplicate names distinguished by their titles
After: iPhone-sized WebKit picker and blank-title fallback
After: iPhone-sized WebKit picker and blank-title fallback
Before: Advanced toggle disabled during processing
Before: Advanced toggle disabled during processing
After: Advanced toggle remains usable during processing
After: Advanced toggle remains usable during processing
Before: status failure prevents switching Advanced off
Before: status failure prevents switching Advanced off
After: Advanced successfully switched off despite unavailable status
After: Advanced successfully switched off despite unavailable status
After: light-theme desktop quick picker
After: light-theme desktop quick picker
After: light-theme iPhone quick picker
After: light-theme iPhone quick picker
After: initial processing can be paused on iPhone-sized WebKit
After: initial processing can be paused on iPhone-sized WebKit
After: paused progress and a matching Resume button on iPhone-sized WebKit
After: paused progress and a matching Resume button on iPhone-sized WebKit
After: paused progress in desktop light theme
After: paused progress in desktop light theme
Echo investigation: Firefox 153 restores the unpinned window after a mobile close and new messages
Echo investigation: Firefox 153 restores the unpinned window after a mobile close and new messages