forgot to sort all photos as array