VaultWarden sorting is not 'natural' order #622

Closed
opened 2026-04-05 22:12:51 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @nahoijtink on 4/1/2025

Vaultwarden Support String

Hi,

I noticed the sort order is not 'natural'. For example, when you enter 'MySelf' in the ItemName, and enter 'myself' in the item name they show not in the expected human readable position in the sorted list. It looks like it is binary/ascii sorted. I noticed this difference when using a Chrome based browser on the PC (Windows 10) and the Android app. The search either would not find, or display on a different position, which is confusing.
Expected Result

Vaultwarden Build Version

Any

Deployment method

Official Container Image

Custom deployment method

Proxmox Install Script

Reverse Proxy

nginx

Host/Server Operating System

Linux

Operating System Version

No response

Clients

Android

Client Version

any

Steps To Reproduce

I humbly suggest that you change the search to use either all lowercase or all uppercase to avoid/circumvent this problem in searches.

apple
Beer
lemon

Expected Result

apple
Beer
lemon

Actual Result

apple
lemon
Beer

Logs


Screenshots or Videos

No response

Additional Context

Windows 10 Chromne Browser and Android BitWarden App show different sort order, which is confusing.

*Originally created by @nahoijtink on 4/1/2025* ### Vaultwarden Support String Hi, I noticed the sort order is not 'natural'. For example, when you enter 'MySelf' in the ItemName, and enter 'myself' in the item name they show not in the expected human readable position in the sorted list. It looks like it is binary/ascii sorted. I noticed this difference when using a Chrome based browser on the PC (Windows 10) and the Android app. The search either would not find, or display on a different position, which is confusing. Expected Result ### Vaultwarden Build Version Any ### Deployment method Official Container Image ### Custom deployment method Proxmox Install Script ### Reverse Proxy nginx ### Host/Server Operating System Linux ### Operating System Version _No response_ ### Clients Android ### Client Version any ### Steps To Reproduce I humbly suggest that you change the search to use either all lowercase or all uppercase to avoid/circumvent this problem in searches. apple Beer lemon ### Expected Result apple Beer lemon ### Actual Result apple lemon Beer ### Logs ```text ``` ### Screenshots or Videos _No response_ ### Additional Context Windows 10 Chromne Browser and Android BitWarden App show different sort order, which is confusing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#622