Title: Table not sorting using the initial sorting instructions
Last modified: February 11, 2017

---

# Table not sorting using the initial sorting instructions

 *  Resolved [st_83](https://wordpress.org/support/users/st_83/)
 * (@st_83)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/table-not-sorting-using-the-initial-sorting-instructions/)
 * Hi there,
    my table doesnt seem to be sorting using the initial sorting instructions
   for the total points column,any ideas?
 * <table id=”AutoNumber12st” class=”tablesorter{sortlist: [[8,0]]}” style=”width:
   100%;” border=”1″>
    <thead> <tr style=”background-color: #e6e6e6; height: 20px;”
   > <th>Club</th> <th>Home</th> <th>Played</th> <th>Points</th> <th>Away</th> <
   th>Played</th> <th>Points</th> <th>Total Points</th> </tr> </thead> <tbody> <
   tr style=”height: 23px;”> <td class=”xl69″ style=”width: 24.1427%; height: 23px;”
   ><span style=”font-family: Arial; font-size: small;”>Cardross</span></td> <td
   class=”xl65″ style=”width: 8.77915%; height: 23px;” align=”center”>10</td> <td
   class=”xl65″ style=”width: 9.87654%; height: 23px;” align=”center”>3</td> <td
   class=”xl65″ style=”width: 10%; height: 23px;” align=”center”></td> <td class
   =”xl65″ style=”width: 7.28395%; height: 23px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 8.5048%; height: 23px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 9.60219%; height: 23px;” align=”center”></td> <td class
   =”xl65″ style=”width: 14.952%; height: 23px;” align=”center”>8</td> </tr> <tr
   style=”height: 24px;”> <td class=”xl68″ style=”width: 24.1427%; height: 24px;”
   ><span style=”font-family: Arial; font-size: small;”>Clober</span></td> <td class
   =”xl65″ style=”width: 8.77915%; height: 24px;” align=”center”>4</td> <td class
   =”xl65″ style=”width: 9.87654%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 10%; height: 24px;” align=”center”></td> <td class=”xl65″
   style=”width: 7.28395%; height: 24px;” align=”center”>3</td> <td class=”xl65″
   style=”width: 8.5048%; height: 24px;” align=”center”>3</td> <td class=”xl65″ 
   style=”width: 9.60219%; height: 24px;” align=”center”></td> <td class=”xl65″ 
   style=”width: 14.952%; height: 24px;” align=”center”>9</td> </tr> <tr style=”
   height: 24px;”> <td class=”xl68″ style=”width: 24.1427%; height: 24px;”><span
   style=”font-family: Arial; font-size: small;”>Clydebank & Dist</span></td> <td
   class=”xl65″ style=”width: 8.77915%; height: 24px;” align=”center”>6</td> <td
   class=”xl65″ style=”width: 9.87654%; height: 24px;” align=”center”>3</td> <td
   class=”xl65″ style=”width: 10%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 7.28395%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 8.5048%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 9.60219%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 14.952%; height: 24px;” align=”center”>7</td> </tr> <tr
   style=”height: 24px;”> <td class=”xl68″ style=”width: 24.1427%; height: 24px;”
   ><span style=”font-family: Arial; font-size: small;”>Dumbarton</span></td> <td
   class=”xl65″ style=”width: 8.77915%; height: 24px;” align=”center”>8</td> <td
   class=”xl65″ style=”width: 9.87654%; height: 24px;” align=”center”>3</td> <td
   class=”xl65″ style=”width: 10%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 7.28395%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 8.5048%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 9.60219%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 14.952%; height: 24px;” align=”center”>10</td> </tr> <tr
   style=”height: 24px;”> <td class=”xl68″ style=”width: 24.1427%; height: 24px;”
   ><span style=”font-family: Arial; font-size: small;”>Helensburgh</span></td> 
   <td class=”xl65″ style=”width: 8.77915%; height: 24px;” align=”center”>7</td>
   <td class=”xl65″ style=”width: 9.87654%; height: 24px;” align=”center”>3</td>
   <td class=”xl65″ style=”width: 10%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 7.28395%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 8.5048%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 9.60219%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 14.952%; height: 24px;” align=”center”>6</td> </tr> <tr
   style=”height: 24px;”> <td class=”xl68″ style=”width: 24.1427%; height: 24px;”
   ><span style=”font-family: Arial; font-size: small;”>Overtoun</span></td> <td
   class=”xl65″ style=”width: 8.77915%; height: 24px;” align=”center”>9</td> <td
   class=”xl65″ style=”width: 9.87654%; height: 24px;” align=”center”>3</td> <td
   class=”xl65″ style=”width: 10%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 7.28395%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 8.5048%; height: 24px;” align=”center”>3</td> <td class
   =”xl65″ style=”width: 9.60219%; height: 24px;” align=”center”></td> <td class
   =”xl65″ style=”width: 14.952%; height: 24px;” align=”center”>5</td> </tr> <tr
   style=”height: 24px;”> <td class=”xl68″ style=”width: 24.1427%; height: 24px;”
   ><span style=”font-family: Arial; font-size: small;”>Vale of Leven</span></td
   > <td class=”xl65″ style=”width: 8.77915%; height: 24px;” align=”center”>5</td
   > <td class=”xl65″ style=”width: 9.87654%; height: 24px;” align=”center”>3</td
   > <td class=”xl65″ style=”width: 10%; height: 24px;” align=”center”></td> <td
   class=”xl65″ style=”width: 7.28395%; height: 24px;” align=”center”>3</td> <td
   class=”xl65″ style=”width: 8.5048%; height: 24px;” align=”center”>3</td> <td 
   class=”xl65″ style=”width: 9.60219%; height: 24px;” align=”center”></td> <td 
   class=”xl65″ style=”width: 14.952%; height: 24px;” align=”center”>4</td> </tr
   > </tbody> </table>

Viewing 1 replies (of 1 total)

 *  Plugin Author [Farhan Noor](https://wordpress.org/support/users/farhannoor/)
 * (@farhannoor)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/table-not-sorting-using-the-initial-sorting-instructions/#post-8821848)
 * Hi,
 * There seems to be a problem in class attribute of Table element. In you class
   attribute please separate `tablesorter` and `{sortlist: [[8,0]]}` by giving some
   space. Hope it will solve the problem.
 * Regards
    Farhan

Viewing 1 replies (of 1 total)

The topic ‘Table not sorting using the initial sorting instructions’ is closed to
new replies.

 * ![](https://ps.w.org/table-sorter/assets/icon-256x256.jpg?rev=1447744)
 * [Table Sorter](https://wordpress.org/plugins/table-sorter/)
 * [Support Threads](https://wordpress.org/support/plugin/table-sorter/)
 * [Active Topics](https://wordpress.org/support/plugin/table-sorter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/table-sorter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/table-sorter/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Farhan Noor](https://wordpress.org/support/users/farhannoor/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/table-not-sorting-using-the-initial-sorting-instructions/#post-8821848)
 * Status: resolved