sorting aspect ratio of flickr photos