I have mysql query and I need order by timeaccept
SELECT id, name, level as lvl, leader as par3
FROM Road
WHERE Road.id LIKE '180'
UNION ALL SELECT id, name, lvl, lastonline, dnd, null, raceid, currenthp, dressed_hp as hp
FROM Users
WHERE rid LIKE '180' AND id NOT LIKE (SELECT leader FROM Road WHERE id LIKE '180')
UNION ALL
SELECT Users.id as id, Users.name, lvl, lastonline, dnd, currentlocid, Location.name as locname, currenthp, dressed_hp as hp
FROM Users LEFT JOIN Location ON (Location.id = currentlocid)
WHERE Users.id LIKE(SELECT leader FROM Road WHERE id LIKE '180') ORDER BY Users.timeacceptinvite
edit 1
but i think that you will receive different number of columns error…