def METHOD_NAME(self):
    # Add buffer stops where needed
    self._auto_gen_buffer_stops()
    # Sort track sections waypoints and signals
    for track in self.infra.track_sections:
        track.sort_signals()
        track.sort_waypoints()