File sorting behaving unexpectedly #2

Closed
opened 1 year 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, ...
Owner

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.
Owner

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 1 year 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.
Owner

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
hardcoresushi referenced this issue from a commit 3 months ago
#2
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: hardcoresushi/DroidFS#2
Loading…
There is no content yet.