Player list order problem (Hockey)
-
Hey.
I have a Hockey League WordPress site with your Sportspress theme, and have a problem with the player list, which in this case is used to showcase the points ranking of the league players.
What is the best way to make the Player list sort order descending by Points (Goals + Assists), but in the same time, if two players are tied in points, it would prefer the player with more goals over the position of the one with less goals. For Example, player with 5 goals and 2 assists would be ranked #1, and player with 2 goals and 5 assists would always be ranked #2, as it goes in Hockey.
Have tried this with different Sorting functions ( Goals x3 + Assists x2 etc…), but it seems always to get messed up at some point due to large indifferences in players stats (2 goals, 15 assists and so on), maybe I’m missing something :/
Thank you in advance for potential Help!
– Nicholas
The page I need help with: [log in to see the link]
- The topic ‘Player list order problem (Hockey)’ is closed to new replies.