def __prepare_to_write_reg(t_res):
    """
    Returns in order user's infomation for a registration.
    :param t_res: dict, contains the info for a user registration 
    :return: tuple, ordered tuple with user's data 
    """
    return t_res['ter_id'], t_res['operation'], t_res['pin'], t_res['name'], t_res['surname'], t_res['family'], \
           t_res['usr_id'], t_res['mail'], t_res['phone']