@staticmethod
def format_descriptors_in_table(json_descriptors):
    sorted_descriptors = sorted(json_descriptors, key=itemgetter('module', 'id'))
    padding_name = 15
    for descriptor in sorted_descriptors:
        if (len(descriptor['name']) > padding_name):
            padding_name = len(descriptor['name'])
    padding_name += 2
    header = f"{'ID':<6}| {'Module':<15}| {'Name':<{padding_name}}| Description"
    print(header)
    print(('-' * len(header)))
    for descriptor in sorted_descriptors:
        print(f"{descriptor['id']:<6}| {descriptor['module']:<15}| {descriptor['name']:<{padding_name}}| {descriptor['description']}")
@staticmethod
def format_descriptors_in_table(json_descriptors):
    sorted_descriptors = sorted(json_descriptors, key=itemgetter('module', 'id'))
    padding_name = 15
    for descriptor in sorted_descriptors:
        if (len(descriptor['name']) > padding_name):
            padding_name = len(descriptor['name'])
    padding_name += 2
    header = f"{'ID':<6}| {'Module':<15}| {'Name':<{padding_name}}| Description"
    print(header)
    print(('-' * len(header)))
    for descriptor in sorted_descriptors:
        print(f"{descriptor['id']:<6}| {descriptor['module']:<15}| {descriptor['name']:<{padding_name}}| {descriptor['description']}")