The general syntax is array(array(field,[ascending?)[,array(field,[ascending?)]]). The shorthand syntax was created for when you only had one field to sort by, if you use the shorthand you need to specify the ascending parameter as well array(priority,true()).