Apply a sort once a tab is clicked

Hi,
I have a view with 2 tabs. Once I click on one of them, I would like to apply a filter + a sort. I am already applying the filter but is it also possible to sort directly once the tab is clicked ?
For example, let’s say I am on the contract view. There are 2 tabs, “All” and “Recent”. In the “Recent” one, once clicked, there’s a filter by user id. The idea is to add a sort on the most recent modified or created contract by this user.

Thank you,
Thibaut

Action window domain does not define an order so for now it is not possible.
But I think it could be a good improvement: Tryton - Get Involved