#NEWLINE# def matrix_index( user ) : #NEWLINE# #INDENT# '\n    Returns the keys associated with each axis of the matrices.\n\n    The first key is always the name of the current user, followed by the\n    sorted names of all the correspondants.\n    ' #NEWLINE# return ( [ user . name ] + sorted ( [ k for k in user . network . keys ( ) if ( user != user . name ) ] ) )