select * from photos where passed=true and photobookid=28 order by orderid