Skip to main content

sort

Function sort 

Source
pub fn sort(items: &mut [&Item], order: OrderBy, increase: bool)
Expand description

Sorts items as Eagle does: the key’s own direction (time keys newest first, others ascending), reversed when increase is false. The sort is stable, so ties keep their incoming order.