A professional C# plugin for KeePass 2.x that allows you to easily sort credentials inside groups based on multiple custom criteria. Includes full support for Vietnamese sorting (accented characters).
Một plugin chuyên nghiệp cho KeePass 2.x hỗ trợ sắp xếp các mục dữ liệu mật khẩu một cách nhanh chóng theo nhiều tiêu chí tùy chỉnh, có tích hợp bộ lọc sắp xếp chuẩn Tiếng Việt.
- Flexible Sorting Criteria / Đa dạng tiêu chí sắp xếp:
- Title / Tiêu đề (A → Z, Z → A)
- Username / Tên người dùng
- URL
- Creation Time / Thời gian tạo
- Last Modification Time / Thời gian sửa đổi gần nhất
- Notes / Ghi chú
- Advanced Options / Tuỳ chọn nâng cao:
- Recursive Sorting / Sắp xếp đệ quy: Sorts entries in the current group and all its sub-groups.
- Case Sensitive / Phân biệt chữ hoa/thường: Choose whether to differentiate upper/lower case.
- Vietnamese Alphabet Support / Hỗ trợ Tiếng Việt: Sorts Vietnamese unicode strings with correct dictionary order (taking care of accents like
á, à, ả, ã, ạ, đ, ê...).
- CI/CD Automated Builds / Tự động biên dịch:
- Pre-configured GitHub Actions to automatically compile both
.dlland.plgxversions on every push!
- Pre-configured GitHub Actions to automatically compile both
The repository is organized following clean architectural practices:
.github/workflows/build.yml- CI/CD pipeline automation script.src/- Contains the source code of the plugin (C# 4.0 / C# 5.0 compatible).KeePassSorter.plgx- Compiled PLGX package directly placed at the root level..gitignore- Standard Visual Studio and build output exclude rules.
- Download the latest
KeePassSorter.plgxfile from the GitHub Actions Artifacts or Release page. - Copy the
.plgxfile into thePluginsfolder of your KeePass installation directory (e.g.C:\Program Files\KeePass\Plugins\). - Restart KeePass. It will automatically compile and load the plugin!
- Open your KeePass database.
- Select the group you want to sort in the left-hand group tree.
- Go to the top menu: Tools ➔ KeePass Sorter ➔ Sort Entries... (hoặc Công cụ ➔ KeePass Sorter ➔ Sort Entries...).
- Configure your desired sorting options in the dialog.
- Click Sắp xếp (Sort). Your entries will be sorted instantly and the database will be marked as modified so you can save your changes!
- Visual Studio 2012 or newer / MSBuild.
- KeePass 2.x installed locally.
To build the DLL version locally:
msbuild src/KeePassSorter.csproj /p:Configuration=ReleaseThe compiled DLL will be located at bin/Release/KeePassSorter.dll.
To pack the PLGX version locally using KeePass:
& "path/to/KeePass.exe" --plgx-create "path/to/repo/src"Rename the resulting src.plgx at the root folder to KeePassSorter.plgx.
This project is licensed under the MIT License - see the LICENSE file for details.