Skip to content

Commit 57bba81

Browse files
Merge pull request #5208 from topcoder-platform/mml-fix
Mml fix
2 parents ce63e59 + 6bb720a commit 57bba81

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ workflows:
259259
filters:
260260
branches:
261261
only:
262-
- develop
262+
- mml-fix
263263
# Production builds are exectuted
264264
# when PR is merged to the master
265265
# Don't change anything in this configuration

src/shared/components/MMatchLeaderboard/index.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ export default class MMLeaderboard extends Component {
7070
// Use Lodash to sort array
7171
data = _.orderBy(
7272
data,
73-
[d => String(d[sortParam.field]).toLowerCase()], [sortParam.order],
73+
[d => Number(d[sortParam.field]) || String(d[sortParam.field]).toLowerCase()],
74+
[sortParam.order],
7475
);
7576
}
7677

0 commit comments

Comments
 (0)