@cached<EOL><INDENT>def ordered(self):<DEDENT>
active, inactive = self.active_inactive<EOL>order = active + inactive<EOL>return UnitCell(self.matrix[:,order], self.active[order])<EOL>
An equivalent unit cell with the active cell vectors coming first