fixed sort order for new photos.