8 – Order results by number of votes

I want to display the pool result output by the Poll module by the number of votes, instead of the default order which is the same for all the polls.

I made two attempts:

  1. Creating a poll view displaying the choice field, with the choice target sort criteria
    Unfortunately, it doesn’t sort them accordingly.

  2. Altering the template file used by the Poll module (poll-results.html.twig) where <dl> {{ results }} </dl> is used to show the poll result
    I’m not sure where the variable is created and how I can change its value.

How can I alter the order used to show the pool result?