Sort photos by ttile.