Currently, matchesToSeeding() will sort all BYEs at the start the seeding. We want them to stay where they are but we don't have their position even though we are sorting by position...
We then need a sort function which has the following input and output:
Input: [null, {"id":2,"position":16}, null, null, null, null, {"id":2,"position":5}, null, null, null, null, null, {"id":4,"position":3}, null, {"id":4,"position":6}, null]
Output: [null, null, {"id":4,"position":3}, null, {"id":2,"position":5}, {"id":4,"position":6}, null, null, null, null, null, null, null, null, null, {"id":2,"position":16}]
A test should be added in general.spec.js
.