MM-9911 Android fix sorting for joinable teams (#1552)
This commit is contained in:
parent
accfdcffd8
commit
cf1022b622
1 changed files with 5 additions and 1 deletions
|
|
@ -20,7 +20,11 @@ function mapStateToProps(state) {
|
|||
const locale = getCurrentLocale(state);
|
||||
|
||||
function sortTeams(a, b) {
|
||||
return a.display_name.localeCompare(b.display_name, locale, {numeric: true});
|
||||
const options = {
|
||||
numeric: true,
|
||||
sensitivity: 'base',
|
||||
};
|
||||
return a.display_name.localeCompare(b.display_name, locale, options);
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue