added order by on tags query