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
select id_comun, nombre, texto, archivo, objeto from comun where id_seccion = 26 and publica = 1 and ano = order by orden