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