select * from gallery where gid = 4780 order by dOrder