diff --git a/rocketpy/simulation/flight.py b/rocketpy/simulation/flight.py index f929a8244..c519a437f 100644 --- a/rocketpy/simulation/flight.py +++ b/rocketpy/simulation/flight.py @@ -3626,7 +3626,7 @@ def add_controllers(self, controllers, t_init, t_end): self.list += controller_node_list def sort(self): - self.list.sort(key=(lambda node: node.t)) + self.list.sort() def merge(self): """Merge all the time nodes that have the same time. This is made to