Rockbox Development > Feature Ideas

Sorting in Files section - Symbols - Underscores do not sort same as symbols

(1/1)

questions2000:
I made the following feature request post regarding sorting which was recently applied and is amazing! :)
https://forums.rockbox.org/index.php/topic,55303.0.html
This link above is specifically about getting FILES to sort using the same sorting methods used by FOLDERS used currently in RB (which at the time was different, but now identical)

(This post is not as important as the sorting post I made that has already been completed, but might be worth mentioning)
I had left one other thing I noticed about sorting off of that post because FOLDERS and FILES both experienced the same sorting results with this.
Which is about how SYMBOLS are handled, especially when they are at the beginning of folder / file names.
I noticed that UNDERSCORES do not sort with the other SYMBOLS.

The sorting decisions used in RB really are great, generally speaking items sort in the following order
Symbols
Numbers
Letters

However, _UNDERSCORES appear to not follow this sorting method.
They instead sort in between Numbers and Letters

For example currently underscores sort like this
(Text)        Parentheses
-Text             Dash
5 Text           Numbers
10 Text         Numbers
_Aaaa          Underscore (end up below Numbers)
_Zzzz           Underscore (end up below Numbers)
Aaaa            Letters
Zzzz             Letters

Common behavior is that underscores are viewed as symbol and are below Dashes
(Text)    Parentheses
-Text         Dash
_Aaaa      Underscore (above Numbers)
_Zzzz       Underscore (above Numbers)
5 Text       Numbers
10 Text     Numbers
Aaaa        Letters
Zzzz         Letters

If anyone agrees / is interested, suggesting to make UNDERSCORES sort with the other symbols, above Numbers.

Thank You

Navigation

[0] Message Index

Go to full version