Hi,
thanks for your post, and sorry for the trouble.
Yes, to sort a second column after sorting a first one, just hold down the “Shift” key while clicking on the sort arrow of the second column’s header cell.
Regards,
Tobias
Tobias,
I was referring more from an “onload” stand point. Below is what I have that auto sorts based on the first column.
[table id=1 row_order=sort row_order_sort_column=A row_order_sort_direction=ASC /]
Hi,
ah, thanks for the clarification. Unfortunately, I’ll have to disappoint you here then. Sorting by two columns is not possible with the Table Row Order Extension 🙁
You would have to fall back to the JS sorting, but you can also trigger that automatically, on load. For that, please add this to the “Custom Commands” text field on the “Edit” screen of the table:
"order": [ [ 0, "asc" ], [ 1, "asc" ] ]
(Note that counting of columns starts with 0 in this code.)
Regards,
Tobias