File sorting behaving unexpectedly #2

Closed
opened 5 months ago by ffactory · 4 comments

I have an encrypted folder with a bunch of files, named 1..200.

Current behavior

They are sorted like this:
1, 10, 100, 101, ... , 109, 11, 110,...

Expected

They should be sorted
1, 2, ... , 10, ... , 50, ... , 100, ...

I have an encrypted folder with a bunch of files, named 1..200. ## Current behavior They are sorted like this: 1, 10, 100, 101, ... , 109, 11, 110,... ## Expected They should be sorted 1, 2, ... , 10, ... , 50, ... , 100, ...

You're right, We need to implement natural sort order when sorting by name.

You're right, We need to implement natural sort order when sorting by name.

Done! (95eed07719)
The fix will be included in the next DroidFS release.

Done! (95eed0771943a324c58fcbdf2e942f3cc51095f3) The fix will be included in the next DroidFS release.
hardcoresushi closed this issue 4 months ago
Poster

Thank you a lot!
I tried to do it myself but couldn't get the project to build on macOS. I thought about setting up a ubuntu VM but didn't have the time.

Thank you a lot! I tried to do it myself but couldn't get the project to build on macOS. I thought about setting up a ubuntu VM but didn't have the time.

Oh I don't use macOS so I couldn't help you on it, sorry. However I could publish the compiled libraries of libgocryptfs if you want, so you only need to build FFmpeg and the main DroidFS code.
Otherwise, you could try to build the app using the F-Droid build server so it's entierly automated. Here is a guide: https://gitlab.com/fdroid/fdroiddata/blob/master/CONTRIBUTING.md#building-it

Oh I don't use macOS so I couldn't help you on it, sorry. However I could publish the compiled libraries of libgocryptfs if you want, so you only need to build FFmpeg and the main DroidFS code. Otherwise, you could try to build the app using the [F-Droid build server](https://gitlab.com/fdroid/fdroidserver) so it's entierly automated. Here is a guide: https://gitlab.com/fdroid/fdroiddata/blob/master/CONTRIBUTING.md#building-it
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.