Title: Stop tables from auto-sorting
Last modified: August 22, 2016

---

# Stop tables from auto-sorting

 *  Resolved [treyg](https://wordpress.org/support/users/treyg/)
 * (@treyg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/stop-tables-from-auto-sorting/)
 * Hey Tobias!
 * Your table plugin has been great! Very intuitive and user-friendly! I did want
   to see if there is a way to keep the tables from auto-sorting when displaying
   on the frontend? Basically, I have the table structured how I want it in the 
   back-end, but when I view it on the frontend it auto-sorts everything. I have
   some blank rows that I need to use for spacing purposes, but they keep getting
   pushed to the top of the table.
    Here’s a look…[http://www.ezfit.com.php53-15.dfw1-1.websitetestlink.com/cms/our-products/finish-brad-nails/](http://www.ezfit.com.php53-15.dfw1-1.websitetestlink.com/cms/our-products/finish-brad-nails/).
 * Is something like this even possible? Also, can you apply background colors to
   specific rows in a table?
 * Thanks so much!
 * Trey
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/stop-tables-from-auto-sorting/#post-5204121)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The reason for this issue is that some other plugin (or your theme) is also adding
   sorting to the table. (When TablePress adds the sorting, no auto-sort is used.)
   
   From what I can see, that is done in the customization that you are using for
   that filtering in the sidebar. Thus, you will need to fix this in that special
   code, by properly initializing the call to DataTables.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Stop tables from auto-sorting’ 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/)

## Tags

 * [background, color](https://wordpress.org/support/topic-tag/background-color/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/stop-tables-from-auto-sorting/#post-5204121)
 * Status: resolved