Function sort

Source
pub fn sort(tracks: &mut [Id], sort: Sort, context: &Context<'_>)
Expand description

Puts a result in order.

Ties retain the selection’s input order, which is catalog order for query results. The same query therefore keeps rows in the same places twice running — without which --offset would show a track twice and hide another.