No results found

Remember My Sort - Xposed Module Repository

Remember My Sort

An LSPosed module that forces the Android file picker to remember your sorting preferences.

Kotlin Android API

Overview

Starting with Android 11’s scoped storage, all apps that need file access must use the system file picker. This picker fails to persist sort preferences across directories. Sort order is kept in the root view, but navigating into any subdirectory resets it to filename A-Z. Users must manually change the sort every time they browse into a folder, regardless of how many times they’ve set it before.

Users have reported the issue since 2021 with no fix from Google.

How it Works

Hooks into DocumentsUI sort logic. Manual sort changes are persisted to storage and restored on subsequent picker launches. Defaults to date descending on first run.

Requirements

  • LSPosed framework (API 100)
  • Android 11+ (API 30+)

Compatibility

Works on AOSP-based ROMs and Pixel devices. OEM-modified ROMs are untested.

Installation

  1. Install LSPosed (JingMatrix fork recommended)
  2. Download latest APK from releases
  3. Install APK and enable module in LSPosed Manager
  4. Add com.google.android.documentsui to module scope
  5. Force stop DocumentsUI
  6. Open any file picker to trigger DocumentsUI

Build

./gradlew assembleDebug

Requires JDK 21 and Gradle 8.13.

License

GNU badge GPLv3 badge

This project is licensed under the GNU General Public License v3.0 – see the LICENSE file for details.

Package

eu.hxreborn.remembermysort

Authors

rafareborn

Releases

1.1.0

Release Type: Stable

12/13/2025, 3:02:05 PM

View all releases

Releases

1.1.0

Release Type: Stable

12/13/2025, 3:02:05 PM

✨ New Features

♻️ Refactors

  • 224d9b2 - simplify Sort model with constants and data class (commit by @hxreborn)
© 2021 - 2025 New Xposed Module Repository