Title: Sort logic
Last modified: January 6, 2023

---

# Sort logic

 *  Resolved [ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/)
 * (@ofccarlosborges)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/sort-logic/)
 * Hello how are you?
   I have a problem and would like help to solve it.A my site
   would use a scoring system to create the ranking of Chinese boxing athletes from
   the average of points where Gold is worth 12 points, Silver 8 points, Bronze 
   4 points and won fights worth 6 points, in case of a tie between two athletes
   it should 2 points will be added to the final average of the athlete who has 
   the most gold medals and if the tie continues, +2 points will be given to the
   athlete who has the most fights won.How do I configure this?I’m getting familiar
   with a plugin, I already understand some of the configuration, but I don’t know
   how to make this tiebreaker.Thanks for the answer!
 * Translated by Google Translate because I’m Brazilian.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/sort-logic/#post-16349819)
 * Hi there [@ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/),
 * At `SportsPress->Configure->Event Results` you should create a “result” called`
   Points` which will be the default result.
 * At `SportsPress->Configure->Event Outcomes` you shoud create:
   `WIN = Most Points``
   DRAW = Equal Points``LOSS = Less Points`
 * At `SportsPress->Configure->Table Columns` you should create:
   `GOLD = Total Points/
   12``SILVER = Total Points / 8``Win Points = WIN * 6`
 * Based on the above Table Columns you can arrange your sorting criteria.
 * I am not familiar at all with Chinese boxing…
 * Thanks,
   Savvas
 *  Thread Starter [ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/)
 * (@ofccarlosborges)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/sort-logic/#post-16352442)
 * Thanks for the answer!
 * What I want is to put in the result of the event the amount of medals that the
   athlete won and the score to be calculated automatically.
   Athlete A won 2 Gold
   medals and Gold is worth 16 bridges, so 16*2=32 points
 * As for the league table, I really didn’t understand how it works and how I can
   make a tiebreaker.
 * OBS: The champions are player vs player type so the classification is by his 
   points

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sort logic’ is closed to new replies.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/sort-logic/#post-16352442)
 * Status: resolved