Sort photos by note count.