File sorting behaving unexpectedly #2

Closed
opened 2022-01-03 12:28:12 +01:00 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.
Author

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
hardcoresushi referenced this issue from a commit 2023-03-03 23:24:12 +01:00
#2
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hardcoresushi/DroidFS#2
No description provided.