def rearange_base_link_list(table, base_link_index):
    """Rarange base link to beginning of table"""
    value = table[base_link_index]
    del table[base_link_index]
    table.insert(0, value)
    return table