Sort the output, smallest interval first. Print total size.