def reorder_indices(self, indices_order):
<EOL>indices_order, single = convert_index_to_keys(self.indices, indices_order)<EOL>old_indices = force_list(self.indices.keys())<EOL>if indices_order == old_indices: <EOL><INDENT>return<EOL><DEDENT>if set(old_indices) != set(indices_order):<EOL><INDENT>raise KeyError('<STR_LIT>')<EOL>
reorder all the indices