Multiple default sort in tables

Is there a way to have multiple columns in the default sort for tables. A simple example would be to sort todos by priority and due date together, first priority, followed by the due date.

Thank you very much for the amazing work that is put into this piece of software!

Best regards

Mike
Solution
->defaultSort(function ($query, $direction) {
    $query->orderBy(...);
})
Was this page helpful?