Title: Standing sorting issue
Last modified: August 22, 2016

---

# Standing sorting issue

 *  Resolved [ErikSlot](https://wordpress.org/support/users/erikslot/)
 * (@erikslot)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/standing-sorting-issue/)
 * Hi, I ran into a standings issue.
    I have teams playing 2 and 3 matches so far.
   When those teams have gotten the same amount of points (e.g. 6 points), the table
   is now sorted by games played and then points. However, teams having gained 6
   points out of 2 matches should be higher in rank than teams having played 3 matches
   to gain 6 points. What I did is change the sorting order, and added P (games 
   played) to the sorting order. 1 = PTS (Asc) ==> Points) 2 = GD (Asc) ==> Goals
   difference 3 = P (Desc) ==> Points Did not work. Actually, nothing changed. Next
   try: 1 = PTS (Asc) 2 = GD (Asc) 2 = P (Desc) Works sort of, However, but I now
   end up with twice a 3rd position, and twice a 5th position. And those are also
   not in the tight order. Solution: 1 = PTS (Asc) 2 = P (Desc) 2 = GD (Asc) It 
   now sorts the table like it should. Postions are now listed correct, sorting 
   order is also correct. Maybe it should work like this by default and I broke 
   something, I don’t know. But this might help people struggling with the table
   sorting order. Example is overhere: [http://jodanboyse7.nl/?sp_table=stand-competitie-2014-2015](http://jodanboyse7.nl/?sp_table=stand-competitie-2014-2015)
 * [https://wordpress.org/plugins/sportspress/](https://wordpress.org/plugins/sportspress/)

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

 *  [Skullsplitter](https://wordpress.org/support/users/skullsplitter/)
 * (@skullsplitter)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/standing-sorting-issue/#post-5490046)
 * Hi ErikSlot
 * Could you tell me where you enter this information in to set the formula for 
   positions? My position numbering is also incorrect and I would like to set it
   for Points and Games Played but can’t see where to change this.
 * Thanks
 * S
 *  Thread Starter [ErikSlot](https://wordpress.org/support/users/erikslot/)
 * (@erikslot)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/standing-sorting-issue/#post-5490051)
 * Hi S,
 * You should find it in SportsPress Settings > Configure.
    Go to League Table Columns.
   You are now at the right place. The column you are looking for is the Sort Order
   column. There really is not a formula for positions, as it is automatically calculated.
   That you can not edit. However, if your sorting is right, it will work out fine(
   no duouble postions) 😉 .
 * EDIT: In my first post the P stands for Events Played of course!

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

The topic ‘Standing sorting issue’ 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

 * [order](https://wordpress.org/support/topic-tag/order/)
 * [sorting](https://wordpress.org/support/topic-tag/sorting/)

 * 2 replies
 * 2 participants
 * Last reply from: [ErikSlot](https://wordpress.org/support/users/erikslot/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/standing-sorting-issue/#post-5490051)
 * Status: resolved