pub fn order_theme_options(options: &mut [ThemeOption])Expand description
Put an already-collected set into the order a picker offers them in.
theme_options’ second half, reachable on its own because not every host
resolves its themes by scanning a directory. audiofiles embeds its shipped
set at compile time and reads only its custom themes off disk, so a
directory scan cannot see most of what it offers, and the alternative to
this being public was that app re-deriving the sort — which is exactly the
three-apps-three-orders state the picker was described to end.
The order is by variant in Variant’s own order, then by measured
contrast best first, then by name.