Can you add the order by to this array please (yes it is duplicated then, but the query is generated with the function that is made for it.