Title: League Table not sorting
Last modified: November 8, 2017

---

# League Table not sorting

 *  [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/)
 * I have 6 calculated fields for table columns based on all entries for one event.
   
   Individual results for categories are being sorted by overall winner?
 * Please help
    -  This topic was modified 8 years, 7 months ago by [pricy](https://wordpress.org/support/users/pricy/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fleague-table-not-sorting-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9663821)
 * Hi!
 * Thanks for reaching out.
 * Please kindly send us some screenshots of your SportsPress > Configure screen.
 * Thanks!
 *  Thread Starter [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9664419)
 * [⌊New_Picture_5⌉⌊New_Picture_5⌉[
    [⌊New_Picture_6⌉](https://ibb.co/mHVNfw) [⌊New_Picture_7⌉](https://ibb.co/cSQoLw)
 *  Thread Starter [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9664432)
 * [⌊New_Picture_8⌉⌊New_Picture_8⌉[
 *  Thread Starter [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9664439)
 * [⌊New_Picture_9⌉⌊New_Picture_9⌉[
    [⌊New_Picture_10⌉](https://ibb.co/gA47fw)
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9667314)
 * Hi!
 * Thanks a lot for that.
 * I’m not sure if I get your issue though. Here is your total formula:
    [http://prntscr.com/h8c2gh](http://prntscr.com/h8c2gh)
 * Isn’t that working for you?
 * Thanks!
 *  Thread Starter [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9668198)
 * Hi Roch, thanks for the follow up.
 * The formula is working fine, however the league table sorting only seems to work
   if there is an event for each category.
 * I was hoping to only enter the raw scores once for the overall event (ie all 
   scores for each category) and then add league tables for each category. sorted
   by each category total. Ive managed to get it to work but only if I add an event
   foe each category?
 * If I run the league tables from just one event it only sorts all league tables
   by 1 descending.
 * Seems like double handling?
 * [⌊New_Picture_11⌉⌊New_Picture_11⌉[
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9670321)
 * Hi!
 * Thanks for your reply.
 * Please kindly clarify what you mean by one event for each category. It looks 
   like your competition / sport is a bit different, so we need to fully understand
   it in order to help you.
 * Thanks!
 *  Thread Starter [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9671998)
 * Ok, so it is one big event that is comprised of 4 competitions on the day. Each
   competition(category) contributes to the event overall winner. So you can win
   a category but not overall. So when all the scores are entered on the main event
   the category results are only sorted by the overall winner, I was hoping to have
   each category league table winners sorted but it doesn’t?
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9686507)
 * Hi!
 * Thanks for the clarification and I’m sorry for the delay. Your issue is a bit
   complicated so it took us some time to figure out the best way to do it.
 * I believe that in your case you could use player lists. You could create a player
   list for the best players based on a certain stat, in your case each of the competitions.
   Changing how the event displays that would require some custom code though. You’ll
   need to edit the template files to reorder your items if you want them to show
   diferently there.
 * Thanks!
 *  Thread Starter [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9686958)
 * Thanks for spending some time on this.
    So just to clarify you cant run just 
   one event and hold more than one competition within it?
 * ![New_Picture_12](https://i0.wp.com/image.ibb.co/bKm8TR/New_Picture_12.png?ssl
   =1)
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9690932)
 * Hi!
 * You can, but the league tables can only have one set of rules. So in the end 
   that won’t really work for you (adding just one event for all competitions / 
   categories).
 * Thanks!
 * Kind Regards,
    -Roch
 *  Thread Starter [pricy](https://wordpress.org/support/users/pricy/)
 * (@pricy)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9692052)
 * ok got it, thanks for your time 🙂

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

The topic ‘League Table not sorting’ 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/)

## Tags

 * [League table](https://wordpress.org/support/topic-tag/league-table/)

 * 12 replies
 * 2 participants
 * Last reply from: [pricy](https://wordpress.org/support/users/pricy/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/league-table-not-sorting-2/#post-9692052)
 * Status: not resolved