code: def csv_matrix_print(classes, table):
      
      result = ""
      classes.sort()
      for i in classes:
          for j in classes:
              result += str(table[i][j]) + ","
          result = result[:-1] + "\n"
      return result[:-1]
docs: Return matrix as csv data.
  
      :param classes: classes list
      :type classes:list
      :param table: table
      :type table:dict
      :return: