Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
I have a playlist of files titled "Chapter 1", "Chapter 2", "Chapter 3", etc. When I try to sort them using the new sort feature added in v3.2.0 they are sorted as: "Chapter 1", "Chapter 10", "Chapter 11", "Chapter 2", instead of the correct order (like in Finder or Files.app)
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo / screenshot / screen recording of the problem.
What is the expected behavior?
For the files to be ordered correctly, like in Finder or Files.app
What is the motivation / use case for changing the behavior?
To be able to listen to audiobooks broken into multiple files in the correct order
Please tell us about your environment:
Version of BookPlayer: v3.2.0
Your Device and its OS version: iPhone 6s, iOS 12.1
I think this can be solved by using the NSString.CompareOptions.numeric option to compare filenames when sorting the files