Title: Multiple sorting
Last modified: August 30, 2016

---

# Multiple sorting

 *  Resolved [ossimuso](https://wordpress.org/support/users/ossimuso/)
 * (@ossimuso)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/)
 * Hi Tobias,
 * Somehow this stopped working, it used to work fine. Now if I hold shift and left
   click two column headers the multiple column sorting doesn’t work. I am using
   this shortcode:
    [table id=6 datatables_counter_column=”true” responsive=”phone”/]
   And I have this custom CSS in plugin options: .dataTables_filter { padding-top:
   1px; }
 * .dataTables_filter {
    margin-bottom: 5px; }
 * .tablepress th,
    .tablepress td { padding: 5px !important; }
 * .tablepress thead th,
    .tablepress tfoot th { background-color: #606060 !important;
   color: #ffffff !important; border: 1px solid #000000 !important; }
 * .tablepress th,
    .tablepress td { border: 1px solid #000000; }
 * .tablepress-id-6.tablepress thead .sorting_asc,
    .tablepress thead .sorting_desc,.
   tablepress thead .sorting:hover { background-color: #ff00dc !important; }
 * .tablepress .row-hover tr:hover td {
    background-color: #BDFE00; }
 * .tablepress tbody td {
    font-family: Open Sans; font-size: 14px !important; color:#
   000000 !important; }
 * .tablepress thead th {
    font-family: Open Sans !important; font-size: 16px !important;
   font-weight: bold !important; }
 * .tablepress thead th,
    .tablepress tbody td { text-align: center !important; }
 * [@media](https://wordpress.org/support/users/media/) (max-width: 767px) {
 *  .tablepress-responsive-phone thead th {
    padding: 7px; }
 *  .tablepress-responsive-phone thead .row-1 .column-1 {
    height: 20px; }
 * }
 * .dataTables_paginate a {
    color: #ffffff !important; }
 * .dataTables_wrapper .dataTables_length label,
    .dataTables_wrapper .dataTables_filter
   label, .dataTables_wrapper .dataTables_info { color: #ffffff !important; }
 * I’ve tinkered for a while but can’t seem to figure out the reason it’s not working.
   Do you have any ideas?
 * Thanks.
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805679)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Can you please post a link to the page with the table where this problem happens,
   so that I can take a direct look? Thanks!
 * Regards,
    Tobias
 *  Thread Starter [ossimuso](https://wordpress.org/support/users/ossimuso/)
 * (@ossimuso)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805777)
 * Sure Tobias,
 * The table is here: [http://www.myfitrank.com/fitness-rankings-female-13-years/](http://www.myfitrank.com/fitness-rankings-female-13-years/).
 * Thanks.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805779)
 * Hi,
 * thanks for the link! I just tried sorting multiple columns, by holding down “
   Shift” and clicking other columns, and that worked totally fine…
    Could it be
   browser issue?
 * Regards,
    Tobias
 *  Thread Starter [ossimuso](https://wordpress.org/support/users/ossimuso/)
 * (@ossimuso)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805804)
 * Wow, so sorry Tobias, I should have deleted my browser cache first. Can I just
   ask if you could tell why the last table (POWER) on that page appears with a 
   wider city column than the others. They all have the same table. But it appears
   the same in CARDIO, ENDURANCE, STRENGTH, SPEED and AGILITY. Then it’s different
   in POWER. I’ve tweaked things a bit but it’s always the last table.
 * Thanks.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805812)
 * Hi,
 * no problem! 🙂 Good to hear that everything is working again!
 * For the column widths: I’m not really sure, but I assume that it’s related to
   the browser calculating the widths in a different way, somehow. The fact that
   the tables are initially hidden (due to the tabs) might also factor in.
    The 
   best solution probably is to manually set the column widths, e.g. via [https://tablepress.org/faq/column-widths/](https://tablepress.org/faq/column-widths/)
 * Best wishes,
    Tobias
 *  Thread Starter [ossimuso](https://wordpress.org/support/users/ossimuso/)
 * (@ossimuso)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805840)
 * Great. That worked well. Thanks Tobias.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805842)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘Multiple 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/multiple-sorting/#post-6805842)
 * Status: resolved