From cf1022b6226411161711ba2179c2e2c0d05b73b6 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Wed, 28 Mar 2018 15:13:34 +0300 Subject: [PATCH] MM-9911 Android fix sorting for joinable teams (#1552) --- app/screens/select_team/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/screens/select_team/index.js b/app/screens/select_team/index.js index c1045bb49..a29928e3c 100644 --- a/app/screens/select_team/index.js +++ b/app/screens/select_team/index.js @@ -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 {