def METHOD_NAME(switches, border):
    if not switches:
        return
    columns = set(switches[0].keys())
    columns -= {'switch_id', 'created_in_cache', 'updated_in_cache'}
    sorted_columns = ['switch_id'] + sorted(columns) + ['created_in_cache',
                                                        'updated_in_cache']
    sorted_columns_with_names = OrderedDict(
        zip(sorted_columns, sorted_columns))
    sorted_columns_with_names.update({'created_in_cache': 'created',
                                      'updated_in_cache': 'updated'})
    table = PrettyTable(sorted_columns_with_names.values(),
                        border=border,
                        sortby='switch_id',
                        vrules=prettytable.FRAME,
                        hrules=prettytable.FRAME)
    convert_timefied_to_human(switches)
    for s in switches:
        table.add_row([s[x] for x in sorted_columns_with_names.keys()])
    print(table)