def permute(self, ordering: np.ndarray, axis: int) -> None:
if self._file.__contains__("<STR_LIT>"):<EOL><INDENT>del self._file['<STR_LIT>']<EOL><DEDENT>ordering = list(np.array(ordering).flatten())  <EOL>self.layers._permute(ordering, axis=axis)<EOL>if axis == <NUM_LIT:0>:<EOL><INDENT>self.row_attrs._permute(ordering)<EOL>self.row_graphs._permute(ordering)<EOL><DEDENT>if axis == <NUM_LIT:1>:<EOL><INDENT>self.col_attrs._permute(ordering)<EOL>self.col_graphs._permute(ordering)<EOL><DEDENT>
Permute the dataset along the indicated axis.

Args:
        ordering (list of int): 	The desired order along the axis

        axis (int):					The axis along which to permute

Returns:
        Nothing.