import json


def format_dictionary(dct, indent=4):
    """Formats a dictionary to be printed
    
    Args:
        dct (dict): Dictionary.
        indent (int): Indentation value.
    
    Returns:
        str: Formatted dictionary ready to be printed
    
    Examples:
        >>> dct = {'bkey':1, 'akey':2}
        >>> print(format_dictionary(dct))
        {
            "akey": 2,
            "bkey": 1
        }
    """
    return json.dumps(dct, indent=indent, sort_keys=True)