You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by orden' at line 6
QUERY:
select id_comun, nombre, texto, archivo, objeto from comun where id_seccion = 8 and publica = 1 and ano = order by orden