diff --git a/client/src/app/core/repositories/assignments/assignment-repository.service.ts b/client/src/app/core/repositories/assignments/assignment-repository.service.ts index 77b234da2..dea62667b 100644 --- a/client/src/app/core/repositories/assignments/assignment-repository.service.ts +++ b/client/src/app/core/repositories/assignments/assignment-repository.service.ts @@ -219,8 +219,6 @@ export class AssignmentRepositoryService extends BaseIsAgendaItemAndListOfSpeake * @param originalPoll the original poll */ public async updateVotes(poll: Partial, originalPoll: ViewAssignmentPoll): Promise { - poll.options.sort((a, b) => a.weight - b.weight); - const votes = poll.options.map(option => { const voteObject = {}; for (const vote of option.votes) {