worked on the photo sorting page