Sorting A-Z doesn‘t work properly
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Add files and folders as shown in the photo below, including leading special characters
- Favorite one of them
- Sort them A-Z or Z-A
Expected behaviour
The folders starting with special characters should be top of the list, favorite or not
Actual behaviour
Some of those folders are top of the list if favorited, some are at the end of the list. They should at least be directly underneath the favorites.
Maybe favorites should have a visual distinction background color or the like.
Screenshots

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?
for it to work properly
Environment data
iOS version: e.g. iOS 14.4.1
16 PB RC/Final
Nextcloud iOS app version: see More > Settings
4.4.4.0
Server operating system:
Web server: Apache, nginx
Database:
PHP version:
Nextcloud version: see Nextcloud admin page
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on iOS 16 with Nextcloud iOS 4.4.4.0 using files and folders with leading special characters, then inspect the app's sorting and favorites behavior. Done means A-Z and Z-A place special-character folders consistently, with favorites handled according to the expected ordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100