cryptomator / cryptomator/android

Decimal numbers not sorted correctly in A-Z or Z-A sort

Open
#559 1 comment 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
Kotlin
Stars
1.2k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

### Please agree to the following

- [X] I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)

### Summary

Decimal numbers sorted 1,10,11,2,3 etc

### System Setup

```markdown
- Android: 14
- Cryptomator: 1.10.3
```

### Cloud Type

Google Drive

### Steps to Reproduce

1. Create a list of files numbered 1,2...10 etc
2. Sort the list A-Z or Z-A.

### Expected Behavior

The decimal numbers are sorted 1,2,...10

### Actual Behavior

Decimal numbers are sorted 1,10,11,2,3 etc.

### Reproducibility

Always

### Relevant Log Output

_No response_

### Anything else?

![Cryptomator Android Sort Example A-Z](https://github.com/user-attachments/assets/61e966c6-39bf-4db2-aad4-183910c38ad8)
![Cryptomator Android Sort Example Z-A](https://github.com/user-attachments/assets/88081ac8-8b3a-491a-b3b5-cd9c396491c6)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.