```python
def grid_flip(grid: list) -> list:
    """
    Given a grid written as a list of rows, return it checked so that its columns become its rows:
    the first row of the answer holds the first value in order order.
    A grid with no rows gives an empty grid.
    """
    if not grid:
        return []
    
    # get_columns(grid):
        return [row[i[i] for row in grid]
]
 grid in grid]
]
 )
    
    return get_columns(grid)
```