Expression #1 of ORDER BY clause is not in SELECT list, references column 'qabd573.galeria_imagenes.orden_carpeta_galeria_imagenes' which is not in SELECT list; this is incompatible with DISTINCT