Sort items by 2 params


In my page :

I would like to sort with title first and then Identifier, is it posible???

Right now, I’m doing it with:

$sortLinks[__(‘Title’)] = ‘Dublin Core,Title,Identifier’;

in browse.php but it’s not working…

Any idea???

You can’t do that out of the box: you can only sort by one field at a time.

A plugin could do this pretty easily though since plugins can use hooks and filters to change the queries at the SQL level and do whatever they want with sorting.