pub fn pinned_first(order: &mut [usize], items: &[Item], folder: &str)Expand description
Moves the items pinned in folder to the front, the most recently
pinned first; the rest keep their order. Eagle does this inside a folder
unless the folder is sorted at random.