Rockbox Development > Feature Ideas

Sorting in Files section - Make files sort same way as folders do (COMPLETED)

<< < (2/2)

bahus:
I've added change request that adds the behavior you want (but it changes behavior of sorting dots in names):
https://gerrit.rockbox.org/r/c/rockbox/+/6548

questions2000:
@bahus
Is that what it is? I had actually run into something like this in the past with Linux sorting, where the dot of the extension did something similar.
I did not even think about this being the issue in RB.
I mean I still prefer filenames to sort the same as how folders currently do, but at least there is a reason for why this occurs.


@bahus
Wow, thank you for doing this.
In the past I had to download the source code for something but I think it was from a different site.
I was not aware of Rockbox using the site you mentioned (Gerrit Code Review)

You mentioned/I saw your post also includes dot folders at top.
When I am viewing on a Linux machine, I think dot folders do show up at top, but that is default behavior of Linux so not sure if it is my file manager/Linux doing this or if Rockbox on device does this as well or not?
But makes sense to me I agree with dot folders (hidden folders) being above all other non dot prefixed folders if they do not do this currently.

Not sure if this will get added, but I really appreciate you putting it in a place where maybe more developers will see this.
I'll keep an eye out in the future to see if this gets added.
Thank you again for doing this.

bahus:
It's been committed. You can test it with the latest daily dev build:
https://www.rockbox.org/daily.shtml

questions2000:
@bahus
What!?
I was waiting to update because I was working on some other tests first but I could not resist.
I tested this out and you are correct, it works!!!!
I did not think something like this would get updated, sorting based posts rarely ever do in any program, cannot believe this was added.
Thank you so much for taking the time to put in that request post
and thank you to developers for making this update (I believe the request post mentions developer Solomon Peachy?, if this is correct, thank you Solomon!)
This is really great, I really appreciate everyone involved in making this happen.

I made a recent post about sorting if anyone is interested
https://forums.rockbox.org/index.php/topic,55373.0.html
I did not include in this post thread because Folders and Files both sorted the same with this observation.
Anyways, thank you guys again!

Navigation

[0] Message Index

[*] Previous page

Go to full version