pub fn best_first(items: &mut [&Item])Expand description
Orders similar pictures best first, as Eagle picks the copy to keep: the most pixels, then for the same format the bigger file, else the better format (PNG, BMP, JPG, JPEG, WebP, AVIF, JXL, HEIC, HEIF, JFIF). The sort is stable, so ties keep their order.