Piemetu klāt ORDER BY, vai pareizi?
SELECT vards, uzvards, MONTH(dzimene) menesis, DAYOFMONTH(dzimene) diena, 'dzd' AS Type
FROM draugi
WHERE DAYOFYEAR(dzimene) < '".(date('z')+60)."'
UNION
SELECT vards, uzvards, MONTH(vardene) menesis, DAYOFMONTH(vardene) diena, 'vd'
FROM draugi
WHERE DAYOFYEAR(vardene) < '".(date('z')+60)."'
ORDER BY menesis ASC, diena ASC