select * from gallery where gid = 4807 order by dOrder