fn order_events<T, Ctr, P>(
    events: &mut Vec<Rc<SweepEvent<T, Ctr, P>>>
) -> Vec<Event<T>>where
    T: CoordinateType,
Expand description

Sort the events and insert indices. Input events must already be filtered such that they only contain relevant events.