We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdae5e6 + 57bba81 commit dd7a88bCopy full SHA for dd7a88b
.circleci/config.yml
@@ -260,7 +260,6 @@ workflows:
260
branches:
261
only:
262
- develop
263
- - tcx-202011
264
# Production builds are exectuted
265
# when PR is merged to the master
266
# Don't change anything in this configuration
src/shared/components/MMatchLeaderboard/index.jsx
@@ -70,7 +70,8 @@ export default class MMLeaderboard extends Component {
70
// Use Lodash to sort array
71
data = _.orderBy(
72
data,
73
- [d => String(d[sortParam.field]).toLowerCase()], [sortParam.order],
+ [d => Number(d[sortParam.field]) || String(d[sortParam.field]).toLowerCase()],
74
+ [sortParam.order],
75
);
76
}
77
0 commit comments