def print_info(info):
    """Print an information dict to stdout in order."""
    format_str = '{:<%d} {:>%d}' % (max(map(len, info)), max(map(len, info.
        values())))
    for name in sorted(info):
        print(format_str.format(name, info[name]))
