def matrix_index(user):
    """
    Returns the keys associated with each axis of the matrices.

    The first key is always the name of the current user, followed by the
    sorted names of all the correspondants.
    """

    other_keys = sorted([k for k in user.network.keys() if k != user.name])
    return [user.name] + other_keys