sort photos by id desc