Title: Table Sort Function not working
Last modified: October 17, 2022

---

# Table Sort Function not working

 *  Resolved [kvento](https://wordpress.org/support/users/kvento/)
 * (@kvento)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/table-sort-function-not-working/)
 * Data in columns blanks out when sort is selected on any of the columns.
 * Using current release of WordPress with theme Twenty Seventeen.
 * Use data tables checkbox selected and Javascript doesn’t show any errors on webpage.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftable-sort-function-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/table-sort-function-not-working/#post-16107890)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * This simply is a result of your table having some empty rows left at the bottom.
   Only seven rows of your table actually have content, but the table has 24 rows
   in total. Thus, to make all this work correctly, just delete those empty rows
   at the bottom of the table. You can do that by clicking the checkboxes on the
   left side of the rows and then clicking the “Selected rows: Delete” button below
   the table input fields.
 * Regards,
    Tobias
 *  Thread Starter [kvento](https://wordpress.org/support/users/kvento/)
 * (@kvento)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/table-sort-function-not-working/#post-16108069)
 * Tobias
 * Thank You!
 * I wouldn’t have figured that out. BTW, This is a nice plugin that does what I
   want and is easy to use. I will be reading the documentation to get fancier once
   I have my basic data input. I hoping that I can do an alpha sort of the rows 
   when a specific column is selected. If this is a premium feature let me know 
   and I’m happy to support with a donation.
 * Kam
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/table-sort-function-not-working/#post-16109404)
 * Hi,
 * good to hear that this helped!
 * Can you clarify what you mean with “alpha sort of the rows when a specific column
   is selected”? To me that sounds like the behavior that you are getting now when
   clicking on a column header cell. (And no, that’s not a Premium feature 🙂 There
   will be Premium versions of TablePress in just a few weeks though, with other
   exciting features!)
 * Regards,
    Tobias

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

The topic ‘Table Sort Function not working’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/table-sort-function-not-working/#post-16109404)
 * Status: resolved