feat: allow next challenge's seed to be a solution (#39145)

* feat: allow next challenge's seed to be a solution
This commit is contained in:
Oliver Eyton-Williams
2020-06-30 06:33:28 +02:00
committed by Mrugesh Mohapatra
parent 4f1be63055
commit fd7a8c0d5e
3 changed files with 272 additions and 3 deletions

View File

@ -0,0 +1,5 @@
const { sortBy } = require('lodash');
exports.sortChallenges = arr => {
return sortBy(arr, ['superOrder', 'order', 'challengeOrder']);
};