[Music][NGA] List items beginning with a number should be last

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
3 years ago
3 years ago

People

(Reporter: wilsonpage, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
For list consistency and to map to gaia-fast-list picker, list items in the numbers (#) sections should appear last.

We should probably perform this sorting before items are returned from their respective service.

Comment 1

3 years ago
We're planning to use localeCompare (see bug 1209135), which puts numbers *first* (at least in English). I think we should just follow what localeCompare does because it allows us to easily have different sort orders for different locales, depending on how that locale prefers to sort its text.

Of course, this may also imply that gaia-fast-list will have to deal with accented characters. For instance, "in Swedish, ä sorts after z" (from the MDN docs about localeCompare). This might be somewhat more complex, but we should do our best to use the most natural sort order for the user's locale.

Comment 2

3 years ago
UX team: see comment 1. Does this make sense? I really think we should just trust the locale's sorting rules, even if it does make us different from iOS ;).
Flags: needinfo?(firefoxos-ux-bugzilla)
From UX triage - Agree with Jim, let's leave it be and leave it up to locale's sorting rules.

Thanks for pinging the UX team!
Flags: needinfo?(firefoxos-ux-bugzilla)

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.